From: Dmitry Stogov Date: Thu, 1 Feb 2007 15:08:10 +0000 (+0000) Subject: Enable canary protection in DEBUG mode only. X-Git-Tag: php-5.2.1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=009f5a3937d174561d5056ed37ecabc3dd02912a;p=php Enable canary protection in DEBUG mode only. --- 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