Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Apr 17, 2020

If the zlib.inflate filter fails to decompress the stream, we raise a
notice instead of failing silently.


This is basically the same as PR #5406, but there has been a separate bug report.

If the zlib.inflate filter fails to decompress the stream, we raise a
notice instead of failing silently.
@nikic
Copy link
Member

nikic commented Apr 20, 2020

CI failure legit:

========DIFF========
003+ Notice: stream_filter_append(): zlib inflate failed in /home/travis/build/php/php-src/ext/standard/tests/filters/filter_errors.inc on line 24
004+ 
007+ 
008+ Notice: stream_get_contents(): zlib inflate failed in /home/travis/build/php/php-src/ext/standard/tests/filters/filter_errors.inc on line 34
========DONE========
FAIL Filter errors: zlib.inflate [ext/standard/tests/filters/filter_errors_zlib_inflate.phpt] 

We also fix failing test cases.
@cmb69
Copy link
Member Author

cmb69 commented Apr 20, 2020

Thanks! Applied as 3d1b730.

@cmb69 cmb69 closed this Apr 20, 2020
@cmb69 cmb69 deleted the cmb/71417 branch April 20, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants