History log of /PHP-8.2/ext/bz2/tests/bug81092.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# a1738d8b 07-Jun-2021 Christoph M. Becker

Fix #81092: fflush before stream_filter_remove corrupts stream

When doing a non finishing flush, BZ2_bzCompress() returns BZ_FLUSH_OK
(not BZ_FINISH_OK) what requires us to do further fl

Fix #81092: fflush before stream_filter_remove corrupts stream

When doing a non finishing flush, BZ2_bzCompress() returns BZ_FLUSH_OK
(not BZ_FINISH_OK) what requires us to do further flushes right away.

We also refactor the while-loop as do-loop.

Closes GH-7113.

show more ...