Skip Menu |

This queue is for tickets about the indirect CPAN distribution.

Report information
The Basics
Id: 47866
Status: resolved
Priority: 0/
Queue: indirect

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.16



Subject: segv with utf8 regexp and indirect
Date: Tue, 14 Jul 2009 11:10:44 +0100
To: bug-indirect [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
$ perl5.10.0 -lwe 'no indirect; print "a\x{100}b" =~ /\A[\x00-\x7f]*\z/' zsh: segmentation fault perl5.10.0 -lwe 'no indirect; print "a\x{100}b" =~ /\A[\x00-\x7f]*\z/' Works fine without the "no indirect;". Also works fine if the string is "a\x{ff}b". Also works fine on perl 5.8.8. -zefram
Show quoted text
> $ perl5.10.0 -lwe 'no indirect; print "a\x{100}b" =~ /\A[\x00- > \x7f]*\z/' > zsh: segmentation fault perl5.10.0 -lwe 'no indirect; print > "a\x{100}b" =~ /\A[\x00-\x7f]*\z/' > > Works fine without the "no indirect;". Also works fine if the string > is > "a\x{ff}b". Also works fine on perl 5.8.8. > > -zefram
Thanks for reporting it. indirect used to also handle OPs that are created when the core loads a module with load_module(). But since this happens at run-time, there's no valid parser available. This is now fixed in git and will be in the next release. Vincent.