summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-09-13 15:52:07 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-09-13 15:52:07 +0000
commit8159506ae9aa909ae709939af0988b9530b96523 (patch)
treeb7557d9dc81ed264cc81f455ff780e2c4e376a92 /tools
parent2c20392169c79e6a9424ba461db879e88b5d23b0 (diff)
downloadwireshark-8159506ae9aa909ae709939af0988b9530b96523.tar.gz
Set WIRESHARK_ABORT_ON_DISSECTOR_BUG when running test-fuzzed-cap.sh
to get a stack trace/core dump on dissector bugs. svn path=/trunk/; revision=38985
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test-fuzzed-cap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-fuzzed-cap.sh b/tools/test-fuzzed-cap.sh
index 881f3d8300..29de7e81fc 100755
--- a/tools/test-fuzzed-cap.sh
+++ b/tools/test-fuzzed-cap.sh
@@ -68,5 +68,7 @@ export MallocCheckHeapEach=1000
export MallocCheckHeapAbort=1
# Call abort() if an illegal free() call is made
export MallocBadFreeAbort=1
+# Call abort() on dissector bugs to make it easier to get a stack trace
+export WIRESHARK_ABORT_ON_DISSECTOR_BUG=
$BIN_DIR/tshark -nVxr $1 > /dev/null