[libpng16] Fix an off-by-one error in the palette index checking function.

This commit is contained in:
John Bowler
2012-03-10 20:03:06 -06:00
committed by Glenn Randers-Pehrson
parent 35f2e1768b
commit 9ff37ea94f
5 changed files with 50 additions and 18 deletions

View File

@@ -301,6 +301,7 @@ Version 1.6.0beta17 [March 10, 2012]
Version 1.6.0beta18 [March 11, 2012]
Issue a png_benign_error() instead of png_warning() about bad palette index.
In pngtest, treat benign errors as errors if "-strict" is present.
Fix an off-by-one error in the palette index checking function.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit