File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 99 . Fixed bug GH-17623 (Broken stack overflow detection for variable
1010 compilation). (ilutov)
1111
12+ - PHPDBG:
13+ . Partially fixed bug GH-17387 (Trivial crash in phpdbg lexer). (nielsdos)
14+
121513 Feb 2025, PHP 8.3.17
1316
1417- Core:
Original file line number Diff line number Diff line change @@ -160,8 +160,9 @@ INPUT ("\\"[#"']|["]("\\\\"|"\\"["]|[^\n\000"])*["]|[']("\\"[']|"\\\\"|[^\
160160
161161<NORMAL>{GENERIC_ID} {
162162 phpdbg_init_param(yylval, STR_PARAM);
163- yylval->str = estrndup(yytext, yyleng - unescape_string(yytext));
164- yylval->len = yyleng;
163+ size_t len = yyleng - unescape_string(yytext);
164+ yylval->str = estrndup(yytext, len);
165+ yylval->len = len;
165166 return T_ID;
166167}
167168
You can’t perform that action at this time.
0 commit comments