From 5bdf9b7c30ceb35e0894c5af42a65b031ccfc337 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Tue, 12 Mar 2024 19:22:52 -0700 Subject: [PATCH] Test with a "seed corpus" consisting of an empty zip file --- .github/workflows/ci.yaml | 4 ++-- fuzz/corpus/seed/empty.zip | Bin 0 -> 95 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 fuzz/corpus/seed/empty.zip diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b433815..0738c0e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -98,7 +98,7 @@ jobs: - name: run fuzz timeout-minutes: 330 run: | - cargo fuzz run fuzz_read -- -timeout=10s -fork=2 -runs=200000000 -max_len=600 -len_control=500 -dict=fuzz/fuzz.dict + cargo fuzz run fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=200000000 -max_len=600 -len_control=500 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 @@ -125,7 +125,7 @@ jobs: - name: run fuzz timeout-minutes: 330 run: | - cargo fuzz run --no-default-features fuzz_read -- -timeout=10s -fork=2 -runs=1000000000 -max_len=16384 -len_control=10000 -dict=fuzz/fuzz.dict + cargo fuzz run --no-default-features fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=1000000000 -max_len=16384 -len_control=10000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 diff --git a/fuzz/corpus/seed/empty.zip b/fuzz/corpus/seed/empty.zip new file mode 100644 index 0000000000000000000000000000000000000000..a3cdf74bb8d93d720e7e343592ff0a15efc56c41 GIT binary patch literal 95 QcmZQzpf2!cWkWU)00me8R{#J2 literal 0 HcmV?d00001