summaryrefslogtreecommitdiff
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-04-16 00:56:11 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-04-16 00:56:11 +0000
commitc9b88696c916c1c0d1726aff89c69ffb1b76c962 (patch)
tree7987459340f9979c19d095a07731fa489a678cb9 /tools/fuzz-test.sh
parenta61489c3a5b6b2d16313ab8244545831ff1c8934 (diff)
downloadwireshark-c9b88696c916c1c0d1726aff89c69ffb1b76c962.tar.gz
Turn on memory scrubbing when fuzz testing.
svn path=/trunk/; revision=32487
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-xtools/fuzz-test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index 1e5db61845..fd4baa74e0 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -165,7 +165,9 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do
fi
fi
- WIRESHARK_DEBUG_SE_USE_CANARY= "$TSHARK" $TSHARK_ARGS $TMP_DIR/$TMP_FILE \
+ export WIRESHARK_DEBUG_SCRUB_MEMORY=1
+ export WIRESHARK_DEBUG_SE_USE_CANARY=1
+ "$TSHARK" $TSHARK_ARGS $TMP_DIR/$TMP_FILE \
> /dev/null 2> $TMP_DIR/$ERR_FILE
RETVAL=$?
# Uncomment the next two lines to enable dissector bug