New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: end_shift: -9195001193011459005 #16994
Comments
From @dur-randirCreated by @dur-randirWhile fuzzing perl v5.29.10-23-g7c0d7520a3 built with afl and run /(((00000000000000000(?0)00000000000000(?1)0000000000000){687}){687})/ to emit 'panic: end_shift: -9195001193011459005 pattern: Perl_fbm_instr (big=<optimized out>, This has never behaved well. Perl Info
|
From @dur-randirSometimes it's caught earlier by different assertions, for example (0+((000000000000000000000000000(?0)00000000000000000){687}(?1)){687}00000000000(?0)000000000){687} triggers perl: regexec.c:879: char *Perl_re_intuit_start(REGEXP *const, SV *, const char *const, char *, char *, const U32, re_scream_pos_data *): Assertion `prog->substrs->data[1].min_offset >= 0' failed. |
The behavior of this is now |
I think so - "recursive pattern cannot terminate" would probably be a more useful error, but I doubt we'd ever implement that unless it was trivial to do so. |
Migrated from rt.perl.org#134097 (status was 'new')
Searchable as RT134097$
The text was updated successfully, but these errors were encountered: