summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-02-01 15:08:10 +0000
committerDmitry Stogov <dmitry@php.net>2007-02-01 15:08:10 +0000
commit009f5a3937d174561d5056ed37ecabc3dd02912a (patch)
treeba564ec54198dbbc327bb601d06af391a21947f5
parentc313af32a9a5707d7f9f5efad6051b83d93411b1 (diff)
downloadphp-git-009f5a3937d174561d5056ed37ecabc3dd02912a.tar.gz
Enable canary protection in DEBUG mode only.
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index c097f3b1cd..10aa388448 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -47,7 +47,7 @@
#endif
#ifndef ZEND_MM_COOKIES
-# define ZEND_MM_COOKIES 1
+# define ZEND_MM_COOKIES ZEND_DEBUG
#endif
#if ZEND_DEBUG