]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Fixed istream-chain when it has multiple "previous streams".
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 21 Sep 2016 10:26:30 +0000 (13:26 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 21 Sep 2016 12:16:40 +0000 (15:16 +0300)
commit946de454a6e2594717bdc4450164dd0db1e96b60
tree68a3731022a28e5511adc25f835e55fc09549898
parentca0eec0d483ed1e9970b15b17230f2a785656ff5
lib: Fixed istream-chain when it has multiple "previous streams".

Fixes assert:
Panic: file istream-chain.c: line 223 (i_stream_chain_read): assertion failed: (cur_data_pos == data_size)

Unit test for it by Stephan Bosch.
src/lib/istream-chain.c
src/lib/test-istream-chain.c