(david at bamsoftware, cmb)
. Fixed bug #77565 (Incorrect locator detection in ZIP-based phars). (cmb)
+- Phpdbg:
+ . Reverted fix for bug #76813 (Access violation near NULL on source operand).
+ (cmb)
07 Jan 2021, PHP 8.0.1
dnl Checks for some support/generator progs.
PHP_PROG_AWK
PHP_PROG_BISON([3.0.0])
-PHP_PROG_RE2C([0.13.7])
+PHP_PROG_RE2C([0.13.4])
PHP_ARG_ENABLE([re2c-cgoto],
[whether to enable computed goto gcc extension with re2c],
YYSETCONDITION(INITIAL);
- LEX(text) = YYCURSOR = YYMARKER = (unsigned char *) input;
+ LEX(text) = YYCURSOR = (unsigned char *) input;
LEX(len) = strlen(input);
}
return T_ID;
}
-<NORMAL>* {
- return T_UNEXPECTED;
-}
-
<RAW>{INPUT} {
phpdbg_init_param(yylval, STR_PARAM);
yylval->str = estrdup(yytext);
%% /* Rules */
input
- : non_empty_input { $$ = $1; }
- | %empty
- ;
-
-non_empty_input
: command { $$ = $1; }
- | non_empty_input T_SEPARATOR command { phpdbg_stack_separate($1.top); $$ = $3; }
+ | input T_SEPARATOR command { phpdbg_stack_separate($1.top); $$ = $3; }
+ | %empty
;
command
+++ /dev/null
---TEST--
-Bug #76813 (Access_violation_near_NULL_on_source_operand)
---PHPDBG--
-"#!==)===\377\377\276\242="
-#!==)===\377\377\276\242=
---EXPECT--
-prompt> [Parse Error: syntax error, unexpected input, expecting $end]
-prompt> [Parse Error: syntax error, unexpected # (pound sign), expecting $end]
-prompt> [Parse Error: syntax error, unexpected # (pound sign), expecting $end]
-prompt>