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

[perl #17611] 5.6.0, 5.6.1, 5.8.0 regexp core on (\@\@|.)*

From:
Steve Peters via RT
Date:
March 28, 2006 19:35
Subject:
[perl #17611] 5.6.0, 5.6.1, 5.8.0 regexp core on (\@\@|.)*
Message ID:
rt-3.0.11-17611-131591.7.80554425146178@perl.org
> [barries@jester.slaysys.com - Thu Sep 26 19:09:46 2002]:
> 
> 
> This is a bug report for perl from barries@slaysys.com,
> generated with the help of perlbug 1.34 running under perl v5.8.0.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> Get the file http://slaysys.com:81/regexp_corer and do:
> 
>     perl -le '$/=undef; $_=<>; s/(\@\@|.)*//s' regexp_corer
> 
> This produces a segfault in 5.6.0 and 5.8.0.  Using a bigger
> chunk of that file can trigger it in 5.6.1.  Can't get 5.004
> to hork.
> 

I don't have access to your original file, but perl.c seems to work just fine.

> perl -le '$/=undef; $_=<>; s/(\@\@|.)*//s' perl.c
Segmentation fault (core dumped)
>

After change #27598, this core dump has been stopped.

> ./perl -le '$/=undef; $_=<>; s/(\@\@|.)*//s' perl.c
> 




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