[libpng16] Removed call to png_read_start_image() from the fuzzer. In libpng16

it is an error to call that along with png_read_update_info().
This commit is contained in:
Glenn Randers-Pehrson 2017-10-13 14:00:36 -05:00
parent 83f27f018c
commit f648294931

View File

@ -171,8 +171,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
png_read_update_info(png_handler.png_ptr, png_handler.info_ptr);
png_start_read_image(png_handler.png_ptr);
png_handler.row_ptr = png_malloc(
png_handler.png_ptr, png_get_rowbytes(png_handler.png_ptr,
png_handler.info_ptr));