develooper Front page | perl.perl5.porters | Postings from March 2006

[perl #8685] Perl Segmentation Fault using /((\w+ )+)/ on long strings

From:
Steve Peters via RT
Date:
March 29, 2006 08:18
Subject:
[perl #8685] Perl Segmentation Fault using /((\w+ )+)/ on long strings
Message ID:
rt-3.0.11-8685-131639.19.2756994036426@perl.org
> [suter@zwitterion.humbug.org.au - Mon Feb 25 13:15:29 2002]:
> 
> This is a bug report for perl from suter@zwitterion.humbug.org.au,
> generated with the help of perlbug 1.33 running under perl v5.6.1.
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> One all the systems I tested the following on, it exits with a
> segmentation fault.
> 
>     perl -e '("bug " x 1E5) =~ /((\w+ )+)/'
> 

This appears to have been fixed with change #27598.

steve@kirk:~/smoke/perl-current$ perl -e '("bug " x 1E5) =~ /((\w+ )+)/'
Segmentation fault
steve@kirk:~/smoke/perl-current$ ./perl -e '("bug " x 1E5) =~ /((\w+ )+)/'





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