Skip to content
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 dereference in Perl_ck_return() - op.c:10990 #15879

Closed
p5pRT opened this issue Feb 19, 2017 · 4 comments
Closed

null pointer dereference in Perl_ck_return() - op.c:10990 #15879

p5pRT opened this issue Feb 19, 2017 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 19, 2017

Migrated from rt.perl.org#130815 (status was 'resolved')

Searchable as RT130815$

@p5pRT
Copy link
Author

p5pRT commented Feb 19, 2017

From @geeknik

Triggered with Perl v5.25.10 (v5.25.9-154-gd8f2fe0) while fuzzing with AFL.

./perl -e 'm(@​{if(0){sub d{]]])}return'
ASAN​:SIGSEGV

==29483==ERROR​: AddressSanitizer​: SEGV on unknown address 0x000000000000
(pc 0x000000560efe bp 0x7ffcc2b41050 sp 0x7ffcc2b40e10 T0)
  #0 0x560efd in Perl_ck_return /home/geeknik/perl/op.c​:10990​:9
  #1 0x5124fe in Perl_op_convert_list /home/geeknik/perl/op.c​:4889​:9
  #2 0x6bffd2 in Perl_yyparse /home/geeknik/perl/perly.y​:883​:23
  #3 0x59d611 in S_parse_body /home/geeknik/perl/perl.c​:2376​:9
  #4 0x593890 in perl_parse /home/geeknik/perl/perl.c​:1691​:2
  #5 0x4dea05 in main /home/geeknik/perl/perlmain.c​:121​:18
  #6 0x7f61db447b44 in __libc_start_main
/build/glibc-qK83Be/glibc-2.19/csu/libc-start.c​:287
  #7 0x4de69c in _start (/home/geeknik/perl/perl+0x4de69c)

AddressSanitizer can not provide additional info.
SUMMARY​: AddressSanitizer​: SEGV /home/geeknik/perl/op.c​:10990 Perl_ck_return
==29483==ABORTING

@p5pRT
Copy link
Author

p5pRT commented Feb 19, 2017

From @arc

Thanks for the report. This is fixed in e5c165a.

--
Aaron Crane ** http​://aaroncrane.co.uk/

@p5pRT
Copy link
Author

p5pRT commented Feb 19, 2017

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Feb 19, 2017

@arc - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant