From: John B. <joh...@gm...> - 2013-04-07 01:12:44
|
On Sat, Apr 6, 2013 at 9:33 AM, Glenn Randers-Pehrson <gl...@gm...>wrote: > Sorry, the "fix" doesn't work any more as of libpng-1.5. > because it requires access to png_ptr->zstream > It's possible to add the inflateUndermine call to png_inflate_claim, it's normally harmless because zlib doesn't have the support compiled in by default so it just returns Z_DATA_ERROR. I have a patch to do that. On the other hand, does it really work? Surely zlib expects the data to be in the window, so if there is a reference to data that has been wiped from the window doesn't it just end up with random bytes? John Bowler <jb...@ac...> |