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
stack underflow from func call #14546
Comments
From @hvdsAFL (<http://lcamtuf.coredump.cx/afl/>) finds this: % /miniperl -e '&{0 == &{0 == 0}} * 0' Running with -Ds shows a stack underflow - the multiply is just a way to show it: % ./miniperl -e '$^D="st"; &{0 == &{0 == 0}}' (-e:1) leave I'm unlikely to have time for further debugging on this one any time soon. Hugo |
From @cpansproutOn Sat Feb 28 03:46:02 2015, hv wrote:
I find this clearer: $ ./miniperl -e 'warn 1, 2, 3, &{0 == 0} * 0, 4, 5, 6' This has something to do with the &PL_sv_yes-as-a-sub hack, which is used to implement missing ->import methods. That this was ever exposed to Perl space is a bug, IMHO, though we have explicit tests for it. However, it is not limited to &{0 == 0}: $ ./miniperl -e 'warn 1, 2, 3, main->import * 0, 4, 5, 6' I see the same results with 5.8.7 and blead. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#123951 (status was 'open')
Searchable as RT123951$
The text was updated successfully, but these errors were encountered: