[libpng17] Fixed two Coverity issues in pngcp.c.

This commit is contained in:
Glenn Randers-Pehrson
2016-07-04 12:30:10 -05:00
parent 86a3c4fb14
commit ce67b437ea
3 changed files with 16 additions and 7 deletions

View File

@@ -5680,7 +5680,7 @@ Version 1.7.0beta81 [June 11, 2016]
Avoid potential overflow of the PNG_IMAGE_SIZE macro. This macro
is not used within libpng, but is used in some of the examples.
Version 1.7.0beta82 [July 3, 2016]
Version 1.7.0beta82 [July 4, 2016]
Put the SKIP definition in the correct place. It needs to come after the
png.h include (see all the other .c files in contrib/libtests) because it
depends on PNG_LIBPNG_VER.
@@ -5688,6 +5688,7 @@ Version 1.7.0beta82 [July 3, 2016]
with a pngcp.dfa configuration test (John Bowler)
Added a "Common linking failures" section to the INSTALL document.
Relocated misplaced #endif in png.c sRGB profile checking.
Fixed two Coverity issues in pngcp.c.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit