-
Notifications
You must be signed in to change notification settings - Fork 576
regex: Using "]]]]][\\" as a pattern should raise an error #14919
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
Comments
From [email protected]Created by @GrimyHow to reproduce
Expected behavior
Actual behavior
"]]]]][\\" fails to raise an error. Note that this does not happen if we remove Other combinations of regexes can trigger this bug. It happens regularly when Affected versions Current blead (2d9b5f1) is affected. Perl Info
|
From @dcollinsnI'm not able to reproduce this at all on blead. I see your system perl build parameters, but can you provide your minimal ./Configure command and perl -V that you're able to reproduce this with? |
The RT System itself - Status changed from 'new' to 'open' |
From @khwilliamsonOn Thu Sep 24 09:22:42 2015, dcollinsn@gmail.com wrote:
I too found that my blead did not have the problem. It is compiled with -DEBUGGING. Then I tried a non-debugging blead, and it did reproduce. When something inconsistent like that happens, it's often found by running valgrind. And sure enough, it was reading beyond the end of a buffer. I have a fix locally, but will audit regcomp.c for similar errors before pushing it. -- |
From @khwilliamsonThanks for finding this Fixed by |
@khwilliamson - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for submitting this report. You have helped make Perl better. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0 |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#126141 (status was 'resolved')
Searchable as RT126141$
The text was updated successfully, but these errors were encountered: