]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-compression: istream-zstd - Make sure parent stream error isn't overwritten
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 4 Jun 2021 08:16:53 +0000 (11:16 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 6 Jul 2021 09:29:58 +0000 (09:29 +0000)
commitb0a354f7a95fed58a071a8d4fd91ec0e331664b7
treef6016b432f7f89223de1868f1281f7c0511517d1
parent8e3a7d9a50f61a31a71213d46215e1682de25196
lib-compression: istream-zstd - Make sure parent stream error isn't overwritten

This could have happened if the parent istream failed before the zstd header
was read. Practically this didn't happen currently, because the initial
parent stream error was normally already handled by istream-decompress
before istream-zstd was even called.
src/lib-compression/istream-zstd.c