diff --git a/autotests/ossfuzz/kimgio_fuzzer.cc b/autotests/ossfuzz/kimgio_fuzzer.cc index a617571..199cf3f 100644 --- a/autotests/ossfuzz/kimgio_fuzzer.cc +++ b/autotests/ossfuzz/kimgio_fuzzer.cc @@ -29,6 +29,7 @@ #include #include #include +#include #include "ani_p.h" #include "avif_p.h" @@ -62,6 +63,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) int argc = 0; QCoreApplication a(argc, nullptr); + QImageReader::setAllocationLimit(2000); + QImageIOHandler* handler = new HANDLER(); QImage i;