This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop -- from crashing on regexps
authorFather Chrysostomos <sprout@cpan.org>
Sat, 10 Aug 2013 17:01:06 +0000 (10:01 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 11 Aug 2013 17:53:34 +0000 (10:53 -0700)
commit9bcf803b59623c817fbac6643ae044e77b2a5f38
tree0dedd8eccc663bca8256614d66353c554583a1b0
parent823ac2c8066d04cddd15f6235e1eae8c4c6e7c5e
Stop -- from crashing on regexps

I mean dereferenced regexps, as returned by ${ qr// }.

It was creating a corrupt SV by setting the IOK flag on something
of type SVt_REGEXP.

This is something I broke when I stopped regexps from being POK
in perl 5.18.0.
sv.c
t/op/inc.t