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

[libpng16] Use png_handler.png_ptr instead of read_ptr in png_set_options(()

上级 ddabd0c7
......@@ -91,7 +91,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
png_set_crc_action(png_handler.png_ptr, PNG_CRC_QUIET_USE, PNG_CRC_QUIET_USE);
#ifdef PNG_IGNORE_ADLER32
png_set_option(read_ptr, PNG_IGNORE_ADLER32, PNG_OPTION_ON);
png_set_option(png_handler.png_ptr, PNG_IGNORE_ADLER32, PNG_OPTION_ON);
#endif
// Setting up reading from buffer.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册