aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-09-27 09:56:49 -0700
committerGerald Combs <gerald@wireshark.org>2022-09-27 09:57:12 -0700
commit7b53fd127ef42a39a9d5a71732eab13c5b42dc33 (patch)
tree0558862e9d0fa93ea94847d565ff3659e548a817
parent12334494bae947f625a10088ef7424cfb51e8e8f (diff)
Tools: Make sure we reset our fuzz ranges.
[skip ci]
-rwxr-xr-xtools/fuzz-test.sh2
1 files changed, 2 insertions, 0 deletions
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 ))