This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix for: [perl #2738] perl segfautls on input
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Thu, 24 Jun 2004 16:22:05 +0000 (16:22 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Thu, 24 Jun 2004 16:22:05 +0000 (16:22 +0000)
commit8e742a20f09cb882e499103f4c5f4964764f2a86
tree2650c18707759bbd336e8c775c8918276c4980a2
parent09122b95120d497042cb9df9ebb06ebcfca423aa
Fix for: [perl #2738] perl segfautls on input
The parser was incorrectly accepting <> as a subroutine prototype and
newATTRSUB didn't validate the proto argument before accessing op_sv.

p4raw-id: //depot/perl@22990
op.c
pod/perldiag.pod
t/comp/parser.t
toke.c