commit | a199a15b28821c5fe0e27e18f61735c12fb0b4cd | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Nov 23 12:58:32 2013 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Nov 23 12:58:32 2013 -0600 |
tree | 81c9ca973a5fe953a12da2d3e0a61f8022fe3820 | |
parent | e9446f2f9510418e08bb1a77e78bfaa487ef860c [diff] |
[libpng17] Added another "assert()" to pngfix.c
diff --git a/contrib/tools/pngfix.c b/contrib/tools/pngfix.c index 3c70b81..e4ccc41 100644 --- a/contrib/tools/pngfix.c +++ b/contrib/tools/pngfix.c
@@ -3323,6 +3323,8 @@ else { + assert(chunk != NULL); + /* Set up for write, notice that repositioning the input stream * is only necessary if something is to be read from it. Also * notice that for the IDAT stream this must only happen once -