-
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
null pointer deref S_ft_return_false (pp_sys.c:3036) #15626
Comments
From @geeknikFound with AFL+ASAN, triggered in Perl v5.25.5-8-g3c42ae1. ./perl -e '($0)=sort{-b-d}/()()/' ASAN:SIGSEGV==24203==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000020 (pc 0x000000ae09f0 bp 0x00000023636c sp 0x7ffd31ec7a20 T0) AddressSanitizer can not provide additional info. |
From @maukeAm 24.09.2016 um 14:59 schrieb Brian Carpenter (via RT):
'() = sort { -d -d } 1, 2' also crashes. The trigger seems to be stacked -- |
The RT System itself - Status changed from 'new' to 'open' |
From @hvdsThis crashes because PL_op->op_next->op_next is NULL; I'm not sure if it's correct for it to be so (I don't see that for the vaguely analagous case of a map block) - if that is expected, the patch below is enough to fix it. Hugo if (PL_op->op_private & OPpFT_STACKING) { |
From zefram@fysh.orgHugo's patch is correct. (The sort comparator ends with a null op_next. -zefram |
@cpansprout - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#129347 (status was 'resolved')
Searchable as RT129347$
The text was updated successfully, but these errors were encountered: