develooper Front page | perl.perl5.porters | Postings from June 2012

[perl #24382] qr((??{})) causes runaway perl process

Father Chrysostomos via RT
June 14, 2012 09:20
[perl #24382] qr((??{})) causes runaway perl process
Message ID:
Apparently this was fixed some time before 5.10.0:

$ perl5.10.0 -e '$p = qr((??{$p}))x; /$p/'
EVAL without pos change exceeded limit in regex at -e line 1.
$ perl5.8.9 -e '$p = qr((??{$p}))x; /$p/'
Segmentation fault

Now the infinite recursion is trapped. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About