svn: /php/php-src/branches/PHP_5_3/ NEWS main/php_ini.c
| From: | Pierre Joye | Date: | Mon, 18 Jul 2011 21:00:59 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ NEWS main/php_ini.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65526@lists.php.net to get a copy of this message | ||
pajoye Mon, 18 Jul 2011 21:00:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313404
Log:
- MFH: Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
Bug: https://bugs.php.net/54204 (Assigned) Can't set a
value with a PATH section in php.ini
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/main/php_ini.c
Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS 2011-07-18 20:59:18 UTC (rev 313403)
+++ php/php-src/branches/PHP_5_3/NEWS 2011-07-18 21:00:59 UTC (rev 313404)
@@ -14,6 +14,8 @@
(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)
Modified: php/php-src/branches/PHP_5_3/main/php_ini.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/php_ini.c 2011-07-18 20:59:18 UTC (rev 313403)
+++ php/php-src/branches/PHP_5_3/main/php_ini.c 2011-07-18 21:00:59 UTC (rev 313404)
@@ -832,7 +832,7 @@
#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