[master] Avoid a possible NULL dereference in debug build,

in png_set_text_2() (bug introduced in libpng-0.95, discovered by Evan Rouault)
This commit is contained in:
Glenn Randers-Pehrson
2009-07-27 22:27:30 -05:00
parent 8de509a837
commit a4d439b975
4 changed files with 11 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.2.38 [July 25, 2009]
* Last changed in libpng 1.2.38 [June 16, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)