[dovecot/core] 6b44fc: lib-storage: Prevent recursion in header parsing
GitHub
noreply at github.com
Tue Jan 10 13:00:10 UTC 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 6b44fc75c0039d1006ce4d543544552449b8e229
https://github.com/dovecot/core/commit/6b44fc75c0039d1006ce4d543544552449b8e229
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
M src/lib-storage/index/index-mail-headers.c
Log Message:
-----------
lib-storage: Prevent recursion in header parsing
If header parsing error occurs and error handling tries
to get fields, such as Message-ID, it will cause
crash. This fixes problem by preventing reading from
non-cached headers while they are being parsed.
Fixes lmtp: Panic: file ../../../src/lib/array.h: line 219 (array_idx_i):
assertion failed: (idx * array->element_size < array->buffer->used)
Commit: ea5a14af8ae816feda08937084954e3912748181
https://github.com/dovecot/core/commit/ea5a14af8ae816feda08937084954e3912748181
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
M src/lib-storage/index/index-mail-headers.c
Log Message:
-----------
lib-storage: Compile & indent fix for previous change.
Compare: https://github.com/dovecot/core/compare/2599a77a28bd...ea5a14af8ae8
More information about the dovecot-cvs
mailing list