[dovecot/core] 22ee6e: global: i_stream_read_memarea() - Remove impossibl...
GitHub
noreply at github.com
Fri Nov 3 00:30:10 EET 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 22ee6e1e6193299034ab99f77a650290de2fd6ca
https://github.com/dovecot/core/commit/22ee6e1e6193299034ab99f77a650290de2fd6ca
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-11-03 (Fri, 03 Nov 2017)
Changed paths:
M src/lib-http/http-transfer-chunked.c
M src/lib-mail/istream-dot.c
M src/lib/istream-crlf.c
Log Message:
-----------
global: i_stream_read_memarea() - Remove impossible ret==-2 checks
If the stream's buffer is empty, i_stream_read_memarea() would have already
assert-crashed at this point.
Commit: 81a99eefdfda5781126617d47f8fd6da67bf5543
https://github.com/dovecot/core/commit/81a99eefdfda5781126617d47f8fd6da67bf5543
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-11-03 (Fri, 03 Nov 2017)
Changed paths:
M src/lib/istream-jsonstr.c
Log Message:
-----------
lib: istream-jsonstr - Fix potential infinite loop if parent stream's max_buffer_size is tiny
Commit: 30517c760897cc4f249da1830ae1996f4d7b5aea
https://github.com/dovecot/core/commit/30517c760897cc4f249da1830ae1996f4d7b5aea
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-11-03 (Fri, 03 Nov 2017)
Changed paths:
M src/lib/istream.c
Log Message:
-----------
lib: istream - Don't leak snapshot memory if close() triggers a read
Also move the line_str freeing just before stream is freed. That didn't
cause any known memory leaks though.
Compare: https://github.com/dovecot/core/compare/7f4bcbb9f2d9...30517c760897
More information about the dovecot-cvs
mailing list