]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
ostream: Mark stream closed before handling its callback to avoid infinite loops.
authorTimo Sirainen <tss@iki.fi>
Sun, 3 Nov 2013 21:27:15 +0000 (23:27 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 3 Nov 2013 21:27:15 +0000 (23:27 +0200)
commit59e26ff34b05cd971a111f8a42fc60c13d9f688b
tree2968dd8d0b37af1944a050849757f4b1cde7cd57
parentb5b10e2ffa9e2e08beeed7c4c752b873039708b6
ostream: Mark stream closed before handling its callback to avoid infinite loops.
The callback could call o_stream_copy_error_from_parent(), which in turn
would try to close the same ostream again.
src/lib/ostream.c