We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d981609 commit 12635f0Copy full SHA for 12635f0
tests/spng_read_fuzzer.c
@@ -92,6 +92,8 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
92
93
spng_set_crc_action(ctx, SPNG_CRC_USE, discard ? SPNG_CRC_DISCARD : SPNG_CRC_USE);
94
95
+ spng_set_option(ctx, SPNG_KEEP_UNKNOWN_CHUNKS, 1);
96
+
97
size_t out_size;
98
if(spng_decoded_image_size(ctx, fmt, &out_size)) goto err;
99
0 commit comments