From: Dmitry Stogov Date: Thu, 1 Feb 2007 15:12:07 +0000 (+0000) Subject: Enable canary protection in DEBUG mode only. X-Git-Tag: RELEASE_1_0_0RC1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09de519e79296083e28140e85138ab0ca5090b3b;p=php Enable canary protection in DEBUG mode only. --- diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index df7d8d5744..49906a5ae6 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