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
S_glob_assign_glob: Assertion `((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVGV || ((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVLV' failed (sv.c:3979) #14741
Comments
From @geeknikThe following "script" causes an assertion failure in Perl v5.23.0 (v5.22.0-85-g16ac183). perl -e '$x=*x=$x=*>' The same script also causes a null ptr deref and seg fault in Perl v5.21.7 (v5.21.6-602-ge9d2bd8): ==8620== Invalid read of size 8 Program received signal SIGSEGV, Segmentation fault. This bug was found with AFL (http://lcamtuf.coredump.cx/afl/) |
From @tonycozOn Tue Jun 09 09:40:17 2015, brian.carpenter@gmail.com wrote:
This can be simplified to: perl -e '*x=$x=*>' There's nothing special about *>: perl -e '*x=$x=*y' will also assert. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @geeknikFYI, this bug doesn't appear to affect perl 5, version 20, subversion 2 (v5.20.2) built for i386-freebsd-thread-multi-64int on FreeBSD 9.3-RELEASE-p9. |
From @tonycozOn Tue Jun 09 09:40:17 2015, brian.carpenter@gmail.com wrote:
Looks like this was fixed in: commit 3c62f09 RT #125840 stop *x = $x doing bad things Closing. Tony |
@tonycoz - 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#125368 (status was 'resolved')
Searchable as RT125368$
The text was updated successfully, but these errors were encountered: