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

index c097f3b1cdf816464eba40781780d18ffddf378f..10aa388448719a353ceac96532daf797a25676e5 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