cilium: fix seed corpus placement (#12260)

Files copied to /out during image creation seem to get hidden by a
volume mounted at /out when building the fuzzers.

Similar issues:
- https://github.com/google/oss-fuzz/pull/12254
- https://github.com/google/oss-fuzz/pull/12250
- https://github.com/google/oss-fuzz/pull/12259
This commit is contained in:
correctmost 2024-07-22 12:38:16 +00:00 committed by GitHub
parent dd3e38d3e8
commit 0166f6a772
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,6 @@ RUN apt-get update && apt-get install -y wget
RUN wget https://raw.githubusercontent.com/google/AFL/master/dictionaries/json.dict -O $OUT/fuzz.dict
RUN git clone --depth 1 https://github.com/dvyukov/go-fuzz-corpus
RUN zip $OUT/fuzz_seed_corpus.zip go-fuzz-corpus/json/corpus/*
RUN git clone --depth 1 https://github.com/cilium/cilium
RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing

View File

@ -18,3 +18,5 @@
$SRC/cilium/test/fuzzing/oss-fuzz-build.sh
$SRC/cncf-fuzzing/projects/cilium/build.sh
zip "$OUT/fuzz_seed_corpus.zip" "$SRC"/go-fuzz-corpus/json/corpus/*