]> granicus.if.org Git - php/commit
Fix #71417: fread() does not report zlib.inflate errors
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 20 Apr 2020 11:27:35 +0000 (13:27 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 20 Apr 2020 14:49:08 +0000 (16:49 +0200)
commit3d1b730c11a4e37884d25bf8af0d5726834986c4
tree92f4b60449b369674e512a0ba2075d67a17691e9
parent661c0ac7f3a7099bc1e0617b5e09dd799b44af23
Fix #71417: fread() does not report zlib.inflate errors

If the zlib.inflate filter fails to decompress the stream, we raise a
notice instead of failing silently.
NEWS
ext/standard/tests/filters/filter_errors_zlib_inflate.phpt
ext/zlib/tests/bug71417.phpt
ext/zlib/tests/bug_52944.phpt
ext/zlib/tests/zlib_filter_inflate2.phpt
ext/zlib/zlib_filter.c