summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-06-10 13:15:01 +0200
committerAnatol Belski <ab@php.net>2015-06-10 13:15:01 +0200
commitf14141aca2eb675c8f5b0dc246ec4f04b0271218 (patch)
treef01c50928e10e22b7c191cfe5af0f226f9fd0401
parent60e181c20ac801292b3e21afc845b700b04cf586 (diff)
downloadphp-git-f14141aca2eb675c8f5b0dc246ec4f04b0271218.tar.gz
regenerated the ini scanner
follow up fix for bug #69551
-rw-r--r--Zend/zend_ini_scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini_scanner.c b/Zend/zend_ini_scanner.c
index 8f6f7035b2..b31410295e 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) {