]> granicus.if.org Git - php/commitdiff
MFB: fix crash
authorNuno Lopes <nlopess@php.net>
Thu, 7 Aug 2008 12:23:54 +0000 (12:23 +0000)
committerNuno Lopes <nlopess@php.net>
Thu, 7 Aug 2008 12:23:54 +0000 (12:23 +0000)
Zend/zend_ini_scanner.l

index e2fe1d945347367086020ff996087213cd81717f..717ba00671ed8b0658d5b9c40f83208eb06e7bab 100644 (file)
@@ -407,7 +407,6 @@ DOUBLE_QUOTES_CHARS ([^$"\\]|("\\"{ANY_CHAR})|{LITERAL_DOLLAR})
        if (yytext[0] == '"' && yytext[yyleng - 1] == '"') {
                SCNG(yy_text)++;
                yyleng = yyleng - 2;
-               yytext[yyleng] = 0;
        }
        RETURN_TOKEN(TC_RAW, yytext, yyleng);
 }