[libpng16] Imported from libpng-1.6.0beta12.tar

This commit is contained in:
Glenn Randers-Pehrson
2012-02-17 16:12:24 -06:00
parent b0606ea043
commit a4badc4b50
4 changed files with 41 additions and 23 deletions

View File

@@ -212,7 +212,13 @@ Version 1.6.0beta11 [February 16, 2012]
Apps are responsible for checking to see if that happened.
Version 1.6.0beta12 [February 17, 2012]
Increase num_palette to invalid_index + 1, not to invalid_index.
Do not increase num_palette on invalid_index.
Relocated check for invalid palette index to pngrtran.c, after unpacking
the sub-8-bit pixels.
Fixed CVE-2011-3026 buffer overrun bug. Deal more correctly with the test
on iCCP chunk length. Also removed spurious casts that may hide problems
on 16-bit systems.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit