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 9
9
. Fixed bug GH-17623 (Broken stack overflow detection for variable
10
10
compilation). (ilutov)
11
11
12
+ - PHPDBG:
13
+ . Partially fixed bug GH-17387 (Trivial crash in phpdbg lexer). (nielsdos)
14
+
12
15
13 Feb 2025, PHP 8.3.17
13
16
14
17
- Core:
Original file line number Diff line number Diff line change @@ -160,8 +160,9 @@ INPUT ("\\"[#"']|["]("\\\\"|"\\"["]|[^\n\000"])*["]|[']("\\"[']|"\\\\"|[^\
160
160
161
161
<NORMAL>{GENERIC_ID} {
162
162
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;
165
166
return T_ID;
166
167
}
167
168
You can’t perform that action at this time.
0 commit comments