From f14141aca2eb675c8f5b0dc246ec4f04b0271218 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 10 Jun 2015 13:15:01 +0200 Subject: [PATCH] regenerated the ini scanner follow up fix for bug #69551 --- Zend/zend_ini_scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.40.0