1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

- MFH: Fixed bug #54204 (Can't set a value with a PATH section in php.ini).

This commit is contained in:
Pierre Joye
2011-07-18 21:00:59 +00:00
parent 1d3696eecb
commit 8d1012b2c3
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@@ -14,6 +14,8 @@ PHP NEWS
(Pierre)
. Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia)
. Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)
. Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
(Pierre)
. Fixed bug #54305 (Crash in gc_remove_zval_from_buffer). (Dmitry)
. Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
(Ralph Schindler, Dmitry)

View File

@@ -832,7 +832,7 @@ PHPAPI void php_ini_activate_per_dir_config(char *path, uint path_len TSRMLS_DC)
#if PHP_WIN32
memcpy(path_bak, path, path_len);
path_bak[path_len - 1] = 0;
path_bak[path_len] = 0;
TRANSLATE_SLASHES_LOWER(path_bak);
path = path_bak;
#endif