[libpng12] Avoid potentially dereferencing NULL info_ptr in png_info_init_3().

This commit is contained in:
Glenn Randers-Pehrson
2015-07-30 16:30:47 -05:00
parent 8601d28e1c
commit e5371d48f7
3 changed files with 9 additions and 5 deletions

View File

@@ -2858,13 +2858,14 @@ version 1.2.53rc02 [February 21, 2015]
versions 1.0.63 and 1.2.53 [February 26, 2015]
No changes.
version 1.2.54beta01 [July 13, 2015]
version 1.2.54beta01 [July 30, 2015]
Fixed typecast in a png_debug2() statement in png_set_text_2() to
avoid a compiler warning in PNG_DEBUG builds.
Fixed printf formats in pngtest.c to avoid compiler warnings and a
Coverity warning in PNG_DEBUG builds.
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().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit