Referring non-matched named capture leaks memory: for (1..10_000_000) { if ("foo" =~ /(foo|(?<capture>bar))?/) { my $capture = $+{capture} } } This is tracked by upstream (https://rt.perl.org/rt3/Public/Bug/Display.html?id=78266) and fixed by commit 7402016d87474403eea5c52dc2c071f68cbbe25c.
F17 (perl-5.14.2-205.fc17.x86_64) affected. F16 (perl-5.14.2-191.fc16.x86_64) affected. F15 (perl-5.12.4-163.fc15.x86_64) affected.
Created attachment 546750 [details] Fix ported for perl-5.14.2
perl-5.14.2-192.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-5.14.2-192.fc16
perl-5.12.4-164.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/perl-5.12.4-164.fc15
Package perl-5.14.2-192.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.14.2-192.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-17088/perl-5.14.2-192.fc16 then log in and leave karma (feedback).
perl-5.14.2-193.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-5.14.2-193.fc16
perl-5.12.4-164.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
perl-5.14.2-193.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.