jackson-databind: move corpus out of OSS-Fuzz (#8521)

ref:
- https://github.com/google/oss-fuzz/pull/8502#discussion_r973409891
- https://github.com/google/oss-fuzz/pull/8517


Signed-off-by: AdamKorcz <adam@adalogics.com>

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-09-17 12:12:34 +01:00 committed by GitHub
parent ac173096ef
commit ebb30238a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -34,6 +34,9 @@ RUN git clone --depth 1 --branch 2.14 https://github.com/FasterXML/jackson-datab
RUN git clone --depth 1 https://github.com/forge/roaster
# Seed files
RUN git clone --depth 1 https://github.com/AdamKorcz/github-samples
ENV MVN $SRC/maven/apache-maven-3.6.3/bin/mvn
WORKDIR jackson-databind
@ -43,4 +46,3 @@ RUN git clone --depth 1 https://github.com/FasterXML/jackson-core
COPY build.sh $SRC/
COPY *Fuzzer.java $SRC/
COPY AdaLObjectReader3Fuzzer_seed_corpus.zip $SRC/

View File

@ -23,6 +23,7 @@ cd $SRC/jackson-databind
# Move seed corpus and dictionary.
mv $SRC/{*.zip,*.dict} $OUT
mv $SRC/github-samples/jackson/*.zip $OUT/
# jackson-databind
MAVEN_ARGS="-Djavac.src.version=15 -Djavac.target.version=15 -DskipTests"