Skip to content

Commit

Permalink
Fix build failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Aug 29, 2021
1 parent e41f0c2 commit a6c63e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzz/fuzz-read-print-write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) {
try {
Exiv2::DataBuf data_copy(data, size);
Exiv2::Image::UniquePtr image =
Exiv2::ImageFactory::open(data_copy.pData_, size);
Exiv2::ImageFactory::open(data_copy.c_data(0), size);
assert(image.get() != 0);

image->readMetadata();
Expand Down

0 comments on commit a6c63e7

Please sign in to comment.