aboutsummaryrefslogtreecommitdiff
path: root/projects/libexif
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2018-07-04 16:43:30 +0200
committerAbhishek Arya <inferno@chromium.org>2018-07-04 07:43:30 -0700
commit3186884b0fcfc84a9eab9ba3c5adcc43ffee4432 (patch)
tree2800f32f9fa323cc061a97e50c2b7cb3fefe56de /projects/libexif
parent621cb43076d7edfaeb8be90a48af6d9278758ab2 (diff)
downloadoss-fuzz-3186884b0fcfc84a9eab9ba3c5adcc43ffee4432.tar.gz
libexif: Add JPG files used by libexif tests to the corpus (#1596)
These are chosen to exercise many of the MakerNote parser variants.
Diffstat (limited to 'projects/libexif')
-rwxr-xr-xprojects/libexif/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/libexif/build.sh b/projects/libexif/build.sh
index 861621056..62eef44d2 100755
--- a/projects/libexif/build.sh
+++ b/projects/libexif/build.sh
@@ -23,6 +23,7 @@ make install
pushd $SRC
mkdir exif_corpus
find exif-samples -type f -name '*.jpg' -exec mv -n {} exif_corpus/ \; -o -name '*.tiff' -exec mv -n {} exif_corpus/ \;
+cp libexif/test/testdata/*.jpg exif_corpus
zip -r "$OUT/exif_loader_fuzzer_seed_corpus.zip" exif_corpus/
popd