[dovecot/core] a85c62: lib: Mark istream with eof=TRUE on all errors
GitHub
noreply at github.com
Mon Nov 14 15:00:09 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: a85c629c5d75a5fd9489ba14d5d4f54f3cddd591
https://github.com/dovecot/core/commit/a85c629c5d75a5fd9489ba14d5d4f54f3cddd591
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/lib/istream.c
Log Message:
-----------
lib: Mark istream with eof=TRUE on all errors
Previously only i_stream_read() did this, but i_stream_seek(), _stat(),
_get_size() and _create() didn't. This caused assert-crashes on error
conditions in code which assumed that when stream_errno != 0, eof==TRUE.
More information about the dovecot-cvs
mailing list