Skip to content

Commit

Permalink
Enable fuzzing of bmffimage.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Jul 23, 2021
1 parent 78e9c8a commit 2d5cccd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fuzz/fuzz-read-print-write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2d5cccd

Please sign in to comment.