]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Fixed potential crash in i_stream_stat() failures.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 13 May 2016 13:23:52 +0000 (09:23 -0400)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 13 May 2016 17:47:10 +0000 (13:47 -0400)
commit6bc001ee9dc03cb3107239861867cd674fd321d7
tree87ae4e4987829d0b7e45c09395819308cea9d3dc
parentf5f2a7a7f2259db3ba42964fbbaeadb8870e64bf
lib: Fixed potential crash in i_stream_stat() failures.

We shouldn't have been copying parent's stream_errno here. Especially
because the parent can be NULL.
src/lib/istream.c