diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-05 14:08:40 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-05 14:08:40 +0000 |
commit | 470bd4455a17a3d4e3ad1694fd64376720a768a9 (patch) | |
tree | d093826bf18419000b746b4e6381c2ba1993b709 /tools/test-common.sh | |
parent | 2a3013fbe11d825a814b665f962689525e26db4b (diff) |
Add a new environment variable to cause abort()s if we add too many items
to the tree (to separate this case from the generic DISSECTOR_BUG case).
Enable this environment variable when fuzz testing.
Enable the 3rd (without tree but with a read filter) check (added in r49643)
when testing capture files but not when fuzz testing--not sure if we want to
add even more to the fuzzbot's work load now (OTOH I've been running it for
a while and it hasn't buried me in bugs).
svn path=/trunk/; revision=49784
Diffstat (limited to 'tools/test-common.sh')
-rw-r--r-- | tools/test-common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh index ee56b6e0ee..de72b33d88 100644 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -67,6 +67,8 @@ export WIRESHARK_EP_VERIFY_POINTERS= export WIRESHARK_SE_VERIFY_POINTERS= # Use the Wmem strict allocator which does canaries and scrubbing etc. export WIRESHARK_DEBUG_WMEM_OVERRIDE=strict +# Abort if a dissector adds too many items to the tree +export WIRESHARK_ABORT_ON_TOO_MANY_ITEMS= # Turn on GLib memory debugging (since 2.13) export G_SLICE=debug-blocks |