]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: Fix potential assert-crash when cache compression merges bitmasks
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 24 Oct 2019 11:08:01 +0000 (14:08 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 20 Nov 2019 06:26:06 +0000 (06:26 +0000)
commit80737a126f2b46696e113cd365d34163b51df549
tree7da8184dc639c8c5871fd92d5e09593508bda986
parentd869e4ffd9436f649558a43f2632557c99a1f178
lib-index: Fix potential assert-crash when cache compression merges bitmasks

Fixes:
Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size)

(although this panic could happen in other ways as well)
src/lib-index/mail-cache-compress.c