mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Fix CMINFO bug in contrib/tools/pngfix.c
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
edec44bfc4
commit
18211df70b
6
ANNOUNCE
6
ANNOUNCE
@@ -1031,6 +1031,12 @@ Version 1.7.0beta70 [November 25, 2015]
|
||||
been zeroed when allocated was not always correct for non-interlaced
|
||||
images. Revealed by pngvalid --size with a hack to make it always
|
||||
use AVG.
|
||||
Fixed an error in handling of bad zlib CMINFO field, found by American
|
||||
Fuzzy Lop, reported by Brian Carpenter. inflate() doesn't immediately
|
||||
fault a bad CMINFO field; instead a 'too far back' error happens later
|
||||
(at least some times). pngfix failed to limit CMINFO to the allowed
|
||||
values but then assumed that window_bits was in range, triggering an
|
||||
assert. The bug is mostly harmless; the file can't be fixed.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
||||
Reference in New Issue
Block a user