summaryrefslogtreecommitdiff
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-31 01:38:55 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-31 01:38:55 +0000
commitc56c403a520e05dbe2eee32762c35f502b82dff2 (patch)
treec9d204965084f7c4d5bf37b47a2363f58934b7dd /tools/fuzz-test.sh
parentecf32a1e7ae44755e55339e393b082785186b972 (diff)
downloadwireshark-c56c403a520e05dbe2eee32762c35f502b82dff2.tar.gz
As discussed in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8728#c4 :
Running tshark with a read filter ("-R") and without building the full tree ("-V") causes it to run into some more bugs (usually loops adding more than 100000 items to the tree). Add some (commented out for now) code to do this... svn path=/trunk/; revision=49643
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-xtools/fuzz-test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index 7610963b92..82ffd40abf 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -60,6 +60,13 @@ else
# r Read packet data from the following infile
RUNNER="$TSHARK"
declare -a RUNNER_ARGS=("${CONFIG_PROFILE}${TWO_PASS}-nVxr" "${CONFIG_PROFILE}${TWO_PASS}-nr")
+ # Running with a read filter but without generating the tree exposes some "More than 100000 items
+ # in tree" bugs (which currently need WIRESHARK_ABORT_ON_DISSECTOR_BUG to be noticed--maybe that
+ # error should have its own environment variable?).
+ # Leave this commented out for now until someone has time to run it through the menagerie once
+ # or twice (so we don't get buried in bugs)...
+ #declare -a RUNNER_ARGS=("${CONFIG_PROFILE}${TWO_PASS}-nVxr" "${CONFIG_PROFILE}${TWO_PASS}-nr" "-Rframe ${CONFIG_PROFILE}${TWO_PASS}-nr")
+ #export WIRESHARK_ABORT_ON_DISSECTOR_BUG=
fi