-
Notifications
You must be signed in to change notification settings - Fork 567
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
Segmentation fault in Perl_sv_catpvn_flags #14976
Comments
From @dcollinsnGreetings Porters, I have compiled bleadperl with the afl-gcc compiler using: ./Configure -Dusedevel -Dprefix='/usr/local/perl-afl' -Dcc='ccache afl-gcc' -Duselongdouble -Duse64bitall -Doptimize=-g -Uversiononly -Uman1dir -Uman3dir -des And then fuzzed the resulting binary using: AFL_NO_VAR_CHECK=1 afl-fuzz -i in -o out bin/perl @@ After reducing testcases using `afl-tmin` and performing additional minimization by hand, I have located the following testcase that triggers a segmentation fault in the perl interpreter. The testcase is the file: /\b{sb}\b{wb}//b{}//>s>>>g>>0 The fuzzer seems to have started from the testcase in [perl #126260], but is does not appear to be at all related - that is a regexp related bug, while this bug is occurring in sv.c. **GDB** (gdb) run Program received signal SIGSEGV, Segmentation fault. **VALGRIND** ==19889== Memcheck, a memory error detector **PERL -V** Summary of my perl5 (revision 5 version 23 subversion 4) configuration: Characteristics of this binary (from libperl): |
From @tonycozOn Sat Oct 10 14:20:55 2015, dcollinsn@gmail.com wrote:
This can be simplified: tony@mars:.../git/perl$ ./perl -e '/\b{wb}/; s///g' Looking at it further. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @khwilliamsonThis is now fixed in blead by commit Thank you for spotting this. It led to me finding several more bugs with this feature. |
@khwilliamson - Status changed from 'open' to 'pending release' |
From @khwilliamsonOn 10/19/2015 12:52 PM, Karl Williamson via RT wrote:
I meant to include text, but forgot, in the final commit message talking The commit message for 139a998 |
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#126319 (status was 'resolved')
Searchable as RT126319$
The text was updated successfully, but these errors were encountered: