diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-03-22 14:38:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 06:38:02 -0700 |
commit | 38f57154d8edfe22a2a8cb3f6c2f4e4d6ce6cae0 (patch) | |
tree | 8945f8d53de9c81a456af8eba111b38f8e25eb96 /projects | |
parent | c03d25ff4c6bf158afb5380d357ef92f5b4ae062 (diff) | |
download | oss-fuzz-38f57154d8edfe22a2a8cb3f6c2f4e4d6ce6cae0.tar.gz |
[jackson-core] Fix seed corpus and dictionary (#5467)
Diffstat (limited to 'projects')
-rw-r--r-- | projects/jackson-core/Dockerfile | 4 | ||||
-rw-r--r-- | projects/jackson-core/build.sh | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/projects/jackson-core/Dockerfile b/projects/jackson-core/Dockerfile index 942dc4420..1ff785046 100644 --- a/projects/jackson-core/Dockerfile +++ b/projects/jackson-core/Dockerfile @@ -19,10 +19,10 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y maven RUN git clone --depth 1 https://github.com/google/fuzzing -RUN cat fuzzing/dictionaries/json.dict > $OUT/DenylistFuzzer.dict +RUN cat fuzzing/dictionaries/json.dict > $SRC/JsonFuzzer.dict RUN git clone --depth 1 https://github.com/dvyukov/go-fuzz-corpus && \ - zip -j $OUT/JsonFuzzer_seed_corpus.zip go-fuzz-corpus/json/corpus/* + zip -j $SRC/JsonFuzzer_seed_corpus.zip go-fuzz-corpus/json/corpus/* ENV JACKSON_BRANCH=2.13 diff --git a/projects/jackson-core/build.sh b/projects/jackson-core/build.sh index 4603810de..5cbf19c20 100644 --- a/projects/jackson-core/build.sh +++ b/projects/jackson-core/build.sh @@ -15,6 +15,9 @@ # ################################################################################ +# Copy seed corpus and dictionary. +mv $SRC/{*.zip,*.dict} $OUT + MAVEN_ARGS="-P!java14+ -Dmaven.test.skip=true -Djavac.src.version=15 -Djavac.target.version=15" DEPENDENCIES="jackson-core jackson-databind jackson-annotations" |