libpng icon indicating copy to clipboard operation
libpng copied to clipboard

A potential NPD bug in timepng.c

Open wurongxin1987 opened this issue 5 years ago • 5 comments

In the source file timepng.c, in the function read_and_copy, the variable io may be assigned with a null pointer returned from the function png_get_io_ptr (in the source file png.c), and be dereferenced in the next line.

image

image

wurongxin1987 avatar Jul 09 '19 11:07 wurongxin1987