From: Antony Dovgal Date: Sat, 19 May 2007 12:53:06 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.2.3RC1~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0db4f06f13f36aa81cbfc37081d80cd77e7b99ea;p=php MFH --- diff --git a/main/php_ini.c b/main/php_ini.c index b7ff09b51a..1b756fcf1c 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -352,7 +352,7 @@ int php_init_config(TSRMLS_D) } #else if (sapi_module.executable_location) { - binary_location = (char *)emalloc(PATH_MAX); + binary_location = (char *)emalloc(MAXPATHLEN); if (!strchr(sapi_module.executable_location, '/')) { char *envpath, *path; int found = 0;