9644b7914445f0fb1098038218bfcb7d135a8698 |
|
21-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
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. |