diff --git a/fuzz/fuzz-read-print-write.cpp b/fuzz/fuzz-read-print-write.cpp index b37b26ad9e..93e59d2304 100644 --- a/fuzz/fuzz-read-print-write.cpp +++ b/fuzz/fuzz-read-print-write.cpp @@ -10,6 +10,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) { Exiv2::XmpParser::initialize(); ::atexit(Exiv2::XmpParser::terminate); +#ifdef EXV_ENABLE_BMFF + Exiv2::enableBMFF(); +#endif try { Exiv2::DataBuf data_copy(data, size);