aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-12-10 03:13:09 +0000
committerBill Meier <wmeier@newsguy.com>2010-12-10 03:13:09 +0000
commit9b9dcb0161d0e48baeacd64da18690ac1a2494f2 (patch)
treea3f3735f7a45da20c353a69e8a306fda21f839b9 /tools
parent07cf00cd11def6d02373d0c5dbe7e3e21d321e7b (diff)
Export G_SLICE=debug-blocks to do additional memory checks;
From the GLib docs "Using this option (present since GLib-2.13) engages extra code which performs sanity checks on the released memory slices. Invalid slice addresses or slice sizes will be reported and lead to a program halt." svn path=/trunk/; revision=35165
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fuzz-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index 9aa003d882..2934147a64 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -184,6 +184,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do
export WIRESHARK_DEBUG_SE_USE_CANARY=
export WIRESHARK_EP_VERIFY_POINTERS=
export WIRESHARK_SE_VERIFY_POINTERS=
+ export G_SLICE=debug-blocks # since GLib 2.13
export MALLOC_CHECK_=3
"$TSHARK" $TSHARK_ARGS $TMP_DIR/$TMP_FILE \
> /dev/null 2> $TMP_DIR/$ERR_FILE