commit | 27ae9362d8c5e998de57fd14f5235915d9e7b995 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Nov 23 12:42:43 2013 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Nov 23 12:42:43 2013 -0600 |
tree | f8ab63398ff2b8ba4923dedec7e30b5594a3bb2e | |
parent | 88507b4ef9f94308d39f60b57dd2031fde9551ef [diff] |
[libpng16] Added another "assert()" in 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 -