From: Ilia Alshanetsky Date: Fri, 17 Sep 2004 02:49:48 +0000 (+0000) Subject: MFH: Fixed bug #30050 (Possible crash inside php_shutdown_config()). X-Git-Tag: php-4.3.9~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6175cec8a775006428522f6725bcbd061a4da939;p=php MFH: Fixed bug #30050 (Possible crash inside php_shutdown_config()). --- diff --git a/NEWS b/NEWS index 04975a74c6..b7c74195ee 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 14 Sep 2004, Version 4.3.9RC3 - GPC input processing fixes (Stefano Di Paola, Rasmus, Stefan) +- Fixed bug #30050 (Possible crash inside php_shutdown_config()). + (Ilia, nw at softwarekombinat dot de) 31 Aug 2004, Version 4.3.9RC2 - Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory diff --git a/main/php_ini.c b/main/php_ini.c index 95cb22160d..f17fd58236 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -484,9 +484,11 @@ int php_shutdown_config(void) zend_hash_destroy(&configuration_hash); if (php_ini_opened_path) { free(php_ini_opened_path); + php_ini_opened_path = NULL; } if (php_ini_scanned_files) { free(php_ini_scanned_files); + php_ini_scanned_files = NULL; } return SUCCESS; }