mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Avoid a clang scanner warning in pngfix.c
This commit is contained in:
parent
0f6303301f
commit
88507b4ef9
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user