提交 f6482949 编写于 作者: G Glenn Randers-Pehrson

[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().
上级 83f27f01
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册