Turn on memory scrubbing when fuzz testing.
[obnox/wireshark/wip.git] / tools / test-fuzzed-cap.sh
index 1d8166f8193bf0d2604f18036ee23b40a86fe2de..3abb874b795701262b03b2f4192f84c358abbac4 100755 (executable)
@@ -26,4 +26,7 @@ ulimit -S -t $MAX_CPU_TIME -v $MAX_VMEM
 # Allow core files to be generated
 ulimit -c unlimited
 
-WIRESHARK_DEBUG_SE_USE_CANARY= ./tshark -nVxr $1 > /dev/null
+export WIRESHARK_DEBUG_SCRUB_MEMORY=1
+export WIRESHARK_DEBUG_SE_USE_CANARY=1
+
+./tshark -nVxr $1 > /dev/null