fake sigill crash in libpng harness

This commit is contained in:
Andrea Fioraldi 2021-01-13 21:42:56 +01:00
parent d2ddef2823
commit 0fe2c49a17

View File

@ -157,6 +157,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// This is going to be too slow. // This is going to be too slow.
if (width && height > 100000000 / width) { if (width && height > 100000000 / width) {
PNG_CLEANUP PNG_CLEANUP
asm("ud2");
return 0; return 0;
} }