summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/redzone.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind/redzone.patch')
-rw-r--r--tools/valgrind/redzone.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/valgrind/redzone.patch b/tools/valgrind/redzone.patch
new file mode 100644
index 0000000..22f0bf7
--- /dev/null
+++ b/tools/valgrind/redzone.patch
@@ -0,0 +1,13 @@
+Index: memcheck/mc_include.h
+===================================================================
+--- memcheck/mc_include.h (revision 10888)
++++ memcheck/mc_include.h (working copy)
+@@ -43,7 +43,7 @@
+ /*------------------------------------------------------------*/
+
+ /* We want at least a 16B redzone on client heap blocks for Memcheck */
+-#define MC_MALLOC_REDZONE_SZB 16
++#define MC_MALLOC_REDZONE_SZB 64
+
+ /* For malloc()/new/new[] vs. free()/delete/delete[] mismatch checking. */
+ typedef