mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Added another "assert()" to pngfix.c
This commit is contained in:
parent
e9446f2f95
commit
a199a15b28
@ -3323,6 +3323,8 @@ read_callback(png_structp png_ptr, png_bytep buffer, size_t count)
|
||||
|
||||
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 -
|
||||
|
Loading…
x
Reference in New Issue
Block a user