cvs: ZendEngine2(PHP_5_0) / zend_ini_scanner.l php-src NEWS
| From: | Jani Taskinen | Date: | Thu, 03 Feb 2005 03:02:17 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_ini_scanner.l php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3366@lists.php.net to get a copy of this message | ||
sniper Wed Feb 2 22:02:17 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src NEWS
/ZendEngine2 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.1760.2.229&r2=1.1760.2.230&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.229 php-src/NEWS:1.1760.2.230
--- php-src/NEWS:1.1760.2.229 Wed Feb 2 18:43:47 2005
+++ php-src/NEWS Wed Feb 2 22:02:16 2005
@@ -87,6 +87,8 @@
(Jani)
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison).
(eggert at gnu dot org, Jani)
+- 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 #28444 (Cannot access undefined property for object with overloaded
http://cvs.php.net/diff.php/ZendEngine2/zend_ini_scanner.l?r1=1.35.2.2&r2=1.35.2.3&ty=u
Index: ZendEngine2/zend_ini_scanner.l
diff -u ZendEngine2/zend_ini_scanner.l:1.35.2.2 ZendEngine2/zend_ini_scanner.l:1.35.2.3
--- ZendEngine2/zend_ini_scanner.l:1.35.2.2 Wed Feb 2 21:58:49 2005
+++ ZendEngine2/zend_ini_scanner.l Wed Feb 2 22:02:16 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_ini_scanner.l,v 1.35.2.2 2005/02/03 02:58:49 sniper Exp $ */
+/* $Id: zend_ini_scanner.l,v 1.35.2.3 2005/02/03 03:02:16 sniper Exp $ */
#define yyleng SCNG(yy_leng)
#define yytext SCNG(yy_text)
@@ -116,7 +116,7 @@
return CFG_FALSE;
}
-<INITIAL>[[][^[]+[\]][ ]*{NEWLINE}? {
+<INITIAL>\[[^\]\[]+\][ ]*{NEWLINE}? {
/* SECTION */
/* eat trailing ] and spaces */