aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorGravatar Paul Kehrer <paul.l.kehrer@gmail.com>2018-03-20 10:35:43 -0400
committerGravatar Abhishek Arya <inferno@chromium.org>2018-03-20 07:35:43 -0700
commita0b6a9d94bf6090f936680e7e1ebc8b8c1c4a3ea (patch)
tree417dd10ca1b831187313e83404dbf452ae7210f0 /projects
parente18de5fac35b7cf38bdb4030df0383e814dfcbf4 (diff)
add mozilla security ogg corpus (#1257)
Diffstat (limited to 'projects')
-rw-r--r--projects/vorbis/Dockerfile1
-rwxr-xr-xprojects/vorbis/build.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/projects/vorbis/Dockerfile b/projects/vorbis/Dockerfile
index 45ebb5e9..0856d361 100644
--- a/projects/vorbis/Dockerfile
+++ b/projects/vorbis/Dockerfile
@@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-conf
RUN git clone https://git.xiph.org/ogg.git
RUN git clone https://git.xiph.org/vorbis.git
ADD decode_fuzzer.cc $SRC/
+RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/ogg decode_corpus
RUN wget --cut-dirs 3 --recursive --level=1 -A ".ogg" https://people.xiph.org/~xiphmont/test-vectors/vorbis/
WORKDIR vorbis
COPY build.sh $SRC/
diff --git a/projects/vorbis/build.sh b/projects/vorbis/build.sh
index 52cd376c..fe339cdf 100755
--- a/projects/vorbis/build.sh
+++ b/projects/vorbis/build.sh
@@ -17,7 +17,7 @@
cd $SRC
-mv people.xiph.org decode_corpus
+mv people.xiph.org/*.ogg decode_corpus/
zip -r "$OUT/decode_fuzzer_seed_corpus.zip" decode_corpus/
cd $SRC/ogg