com php-src: regenerated the ini scanner: Zend/zend_ini_sca nner.c
| From: | Anatol Belski | Date: | Wed, 10 Jun 2015 11:15:01 +0000 |
| Subject: | com php-src: regenerated the ini scanner: Zend/zend_ini_sca nner.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87182@lists.php.net to get a copy of this message | ||
Commit: f14141aca2eb675c8f5b0dc246ec4f04b0271218
Author: Anatol Belski <ab@php.net> Wed, 10 Jun 2015 13:15:01 +0200
Parents: 60e181c20ac801292b3e21afc845b700b04cf586
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f14141aca2eb675c8f5b0dc246ec4f04b0271218
Log:
regenerated the ini scanner
follow up fix for bug #69551
Bugs:
https://bugs.php.net/69551
Changed paths:
M Zend/zend_ini_scanner.c
Diff:
diff --git a/Zend/zend_ini_scanner.c b/Zend/zend_ini_scanner.c
index 8f6f703..b314102 100644
--- a/Zend/zend_ini_scanner.c
+++ b/Zend/zend_ini_scanner.c
@@ -1926,7 +1926,7 @@ end_raw_value_chars:
}
/* Eat leading and trailing double quotes */
- if (yytext[0] == '"' && yytext[yyleng - 1] == '"') {
+ if (yyleng > 1 && yytext[0] == '"' && yytext[yyleng - 1] ==
'"') {
SCNG(yy_text)++;
yyleng = yyleng - 2;
} else if (sc) {