Enable fuzzing of bmffimage.cpp

This commit is contained in:
Kevin Backhouse 2021-07-23 15:28:04 +01:00
parent 78e9c8aa82
commit 2d5cccd488
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

View File

@ -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);