[perl #30258] utf8 POPSTACK crash on split execution
authorDave Mitchell <davem@fdisolutions.com>
Fri, 2 Jul 2004 01:49:11 +0000 (01:49 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Fri, 2 Jul 2004 01:49:11 +0000 (01:49 +0000)
commit8b7059b1a993d7ac934442e99623d9dbc5fe3ce8
tree7103d4613a669489d661dc301f5e71e1f13f4129
parent6f980a54574e0bf71b1f27e663d5e95cbb8a2612
[perl #30258] utf8 POPSTACK crash on split execution
split() does a SWITCHSTACK to directly split to an array, but
if it subsequently dies (eg the regex triggers a 'use utf8' which
is then denied by Safe), then the switch doesn't get undone. Add
a new save type to allow for this.

p4raw-id: //depot/perl@23023
pp.c
scope.c
scope.h