develooper Front page | perl.perl5.porters | Postings from December 2004

Re: [perl #33571] Segmentation fault while parsing a malformed code

Thread Previous | Thread Next
From:
Andreas J Koenig
Date:
December 28, 2004 07:52
Subject:
Re: [perl #33571] Segmentation fault while parsing a malformed code
Message ID:
87llbileeg.fsf@franz.ak.mind.de
>>>>> On 28 Dec 2004 08:21:42 -0000, Somanos Sar (via RT) <perlbug-followup@perl.org> said:

binary search reveals, this was introduced with...

Change 18166 by rgs@rgs-home on 2002/11/19 23:02:31

        Fix perl bug #17920 : a case of parser coredump.
        The fix is to disable Perl_block_start and Perl_block_end
        when the yacc parser has encountered errors. This prevents
        corruption of the internal stack, at the expense of correctness,
        but this doesn't matter as the code is unparseable anyway.

----Output of .../ppmwMSk/perl-5.8.0@18165/bin/perl----
syntax error at tests/somanos_segv.pl line 15, near ")"
Missing right curly or square bracket at tests/somanos_segv.pl line 18, at end of line
Execution of tests/somanos_segv.pl aborted due to compilation errors.

----EOF ($?='65280')----
----Output of .../pxv5JVg/perl-5.8.0@18166/bin/perl----

----EOF ($?='11')----



-- 
andreas

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About