[libpng16] Avoid a clang scanner warning in pngfix.c

This commit is contained in:
Glenn Randers-Pehrson 2013-11-23 12:26:00 -06:00
parent 0f6303301f
commit 88507b4ef9

View File

@ -3336,6 +3336,8 @@ read_callback(png_structp png_ptr, png_bytep buffer, size_t count)
/* FALL THROUGH */
default:
assert(chunk != NULL);
/* NOTE: the arithmetic below overflows and gives a large positive
* png_uint_32 value until the whole chunk data has been written.
*/