Skip to content

Commit

Permalink
Fuzz Metadata::print() with nullptr parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Jun 29, 2023
1 parent 6b186a4 commit 469c76c
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 @@ -21,12 +21,15 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {

image->readMetadata();
for (auto& md : image->exifData()) {
md.print();
md.print(&image->exifData());
}
for (auto& md : image->iptcData()) {
md.print();
md.print(&image->exifData());
}
for (auto& md : image->xmpData()) {
md.print();
md.print(&image->exifData());
}

Expand Down

0 comments on commit 469c76c

Please sign in to comment.