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

[perl #7954] perldoc -q '$a' dumps core

From:
Steve Peters via RT
Date:
December 9, 2004 17:56
Subject:
[perl #7954] perldoc -q '$a' dumps core
Message ID:
rt-3.0.11-7954-102503.10.995673403686@perl.org
> [joe@sunstarsys.com - Thu Nov 29 00:14:44 2001]:
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
>         % perldoc -q '$a'
>         Segmentation fault (core dumped)
> 
> The problem appears to be on line 606:
> 
>         if (/^=head2\s+.*(?:$opt_q)/oi) {
> 
> Changing that to
> 
>         if (/^=head2\s+.*(?i:$opt_q)/) {
> 
> prevents the segfault.
> 

This still dumped core as of 5.6.2, but everything is fine with Perl
5.8.5 and Pod::Perldoc 3.14.  



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