commit | 28a1cdfc2ed07d7c1af803dd98a50550699c847c | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Fri Nov 27 23:57:39 2015 -0800 |
committer | John Bowler <jbowler@acm.org> | Fri Nov 27 23:57:39 2015 -0800 |
tree | ab5c1d3ac9a122c5ab863cfd9b804f415818472c | |
parent | 87049cbf84d33fe0495b9dd8c61c4917067449b6 [diff] |
Fix inconsistent handling of invalid zlib data In libpng 1.6 zlib initialization was changed to use the window size in the zlib stream, not a fixed value. This causes some invalid images, ones where CINFO is too large, to display 'correctly' if the rest of the data is valid. This provides a work-round for zlib versions where the error arises (ones that support the API change to use the window size in the stream). Signed-off-by: John Bowler <jbowler@acm.org>