From 7b53fd127ef42a39a9d5a71732eab13c5b42dc33 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 27 Sep 2022 09:56:49 -0700 Subject: Tools: Make sure we reset our fuzz ranges. [skip ci] --- tools/fuzz-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index c0ea104d87..851908c13f 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -196,6 +196,8 @@ while { [ $PASS -lt "$MAX_PASSES" ] || [ "$MAX_PASSES" -lt 1 ]; } && ! $DONE ; d fi # Choose a random subset of large captures. + KEEP= + PACKET_RANGE= CF_PACKETS=$( "$CAPINFOS" -T -r -c "$CF" | cut -f2 ) if [[ CF_PACKETS -gt $MAX_FUZZ_PACKETS ]] ; then START_PACKET=$(( CF_PACKETS - MAX_FUZZ_PACKETS )) -- cgit v1.2.3