cvs: Zend(PHP_4_3) / zend_ini_scanner.l php-src NEWS
| From: | Jani Taskinen | Date: | Thu, 03 Feb 2005 03:02:09 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_ini_scanner.l php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3365@lists.php.net to get a copy of this message | ||
sniper Wed Feb 2 22:02:09 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/Zend zend_ini_scanner.l
Log:
- MFH: Fixed bug #28804 (ini-file section parsing pattern is buggy).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.825&r2=1.1247.2.826&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.825 php-src/NEWS:1.1247.2.826
--- php-src/NEWS:1.1247.2.825 Wed Feb 2 18:44:07 2005
+++ php-src/NEWS Wed Feb 2 22:02:07 2005
@@ -57,6 +57,8 @@
(Jani)
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison).
(eggert at gnu dot org)
+- Fixed bug #28804 (ini-file section parsing pattern is buggy).
+ (wendland at scan-plus dot de)
- Fixed bug #28451 (corupt EXIF headers have unlimited recursive IFD directory
entries). (Andrei)
- Fixed bug #28086 (crash inside overload() function). (Tony)
http://cvs.php.net/diff.php/Zend/zend_ini_scanner.l?r1=1.26.2.8&r2=1.26.2.9&ty=u
Index: Zend/zend_ini_scanner.l
diff -u Zend/zend_ini_scanner.l:1.26.2.8 Zend/zend_ini_scanner.l:1.26.2.9
--- Zend/zend_ini_scanner.l:1.26.2.8 Wed Feb 2 22:00:02 2005
+++ Zend/zend_ini_scanner.l Wed Feb 2 22:02:08 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_ini_scanner.l,v 1.26.2.8 2005/02/03 03:00:02 sniper Exp $ */
+/* $Id: zend_ini_scanner.l,v 1.26.2.9 2005/02/03 03:02:08 sniper Exp $ */
#define yyleng SCNG(yy_leng)
#define yytext SCNG(yy_text)
@@ -139,7 +139,7 @@
return CFG_FALSE;
}
-<INITIAL>[[][^[]+[\]][ ]*{NEWLINE}? {
+<INITIAL>\[[^\]\[]+\][ ]*{NEWLINE}? {
/* SECTION */
/* eat trailing ] and spaces */