[dovecot/core] 9644b7: lib-index: Handle invalid headers as "corruption",...
GitHub
noreply at github.com
Tue Nov 22 13:00:08 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 9644b7914445f0fb1098038218bfcb7d135a8698
https://github.com/dovecot/core/commit/9644b7914445f0fb1098038218bfcb7d135a8698
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-22 (Tue, 22 Nov 2016)
Changed paths:
M src/lib-index/mail-index-map-hdr.c
M src/lib-index/mail-index-map-read.c
Log Message:
-----------
lib-index: Handle invalid headers as "corruption", not "temporary error"
This is especially required for "Header's corrupted flag is set" error,
which won't get fixed otherwise.
It's a bit more questionable if we should treat major version or CPU
architecture change as corruption, but it's possible those only exist
because of corruption. It's also very unlikely that either is really
happening. Ideally there would be a hash that verifies whether the
header is corrupted or not.
More information about the dovecot-cvs
mailing list