diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-27 02:31:35 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-27 02:31:35 +0000 |
commit | bb39f9732d7e4fd5ac990d280562b6ca8a44fde5 (patch) | |
tree | 0c61ddf0de5f2c046506ae889b8ed4b546bfc834 /Makefile.SH | |
parent | 0314caccb065788b6239839153c5bc1ccda1b245 (diff) | |
download | perl-bb39f9732d7e4fd5ac990d280562b6ca8a44fde5.tar.gz |
The code in regcppop() (see #7878) contains the correct lower
limit for the unused submatch 'cleanup' loop so that under
"use utf8" the following code wouldn't dump core:
"," =~ /([^,]*,)*/ With the the wrong lower limit (>=1)
the cleanup loop in regtry() stomped beyond allocated area
in the startp[] array. Therefore, copied the correct lower
loop limit (*PL_reglastparen) to regtry(). Note: something
may still not be quite right: why was the _higher_ loop limit
(prog->nparens) different in the utf8 case?
After this patch "./perl -Ilib -Mutf8 t/op/regexp.t" works
without core dumps, there were about 17 of them before
the patch (with us since Perl 5.7.0). Two failures, still:
496 and 505 (though these may not be severe).
Patch #7881 is also needed since both the cleanup loops
seem to be needed.
Also, the t/op/pat#44 seems to core dump under utf8.
Plus a couple of failures. UGH-8.
p4raw-id: //depot/perl@7879
Diffstat (limited to 'Makefile.SH')
0 files changed, 0 insertions, 0 deletions