]> granicus.if.org Git - php/commitdiff
Enable canary protection in DEBUG mode only.
authorDmitry Stogov <dmitry@php.net>
Thu, 1 Feb 2007 15:12:07 +0000 (15:12 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 1 Feb 2007 15:12:07 +0000 (15:12 +0000)
Zend/zend_alloc.c

index df7d8d5744215f805ed25451bb539773531aaaef..49906a5ae6e92ef0d8315b296d73d7b1d0093921 100644 (file)
@@ -47,7 +47,7 @@
 #endif
 
 #ifndef ZEND_MM_COOKIES
-# define ZEND_MM_COOKIES 1
+# define ZEND_MM_COOKIES ZEND_DEBUG
 #endif
 
 #if ZEND_DEBUG