-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Description
Discovered with #322.
The regex (A)*+
, with A
as any literal, does not have consistent matches between JIT and non-JIT when used with endanchored.
sh-5.2$ xxd endanchored_crash
00000000: 0000 0000 0000 0020 2841 292a 2b ....... (A)*+
sh-5.2$ ./pcre2_fuzzer endanchored_crash
Encountered failure while performing match errorcode comparison; context:
Pattern/sample string (hex encoded): 2841292a2b
Compile options 20100000 never_backslash_c,endanchored
Match options 00002000
Non-JIT'd operation did not emit an error.
1 matches discovered by non-JIT'd regex:
Match 0 (hex encoded):
JIT'd operation did not emit an error.
2 matches discovered by JIT'd regex:
Match 0 (hex encoded):
Match 1 (hex encoded): 41
Disabling endanchored causes the difference to disappear. I'm not sure what the correct behaviour should be.
Metadata
Metadata
Assignees
Labels
No labels