[libpng12] Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c

and port other changes to pnm2png.c and gregbook/rpng2-x.c from libpng-1.6.18
This commit is contained in:
Glenn Randers-Pehrson
2015-07-30 16:43:05 -05:00
parent e5371d48f7
commit 79268e7dc2
3 changed files with 153 additions and 64 deletions

View File

@@ -51,6 +51,9 @@ version 1.2.54beta01 [July 30, 2015]
Avoid Coverity issue 80858 (REVERSE NULL) in pngtest.c PNG_DEBUG builds.
Removed WRITE_WEIGHTED_FILTERED code.
Avoid potentially dereferencing NULL info_ptr in png_info_init_3().
Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c
because usleep() is deprecated (port from libpng16).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit