From: Nicholas Clark Date: Sun, 30 Nov 2008 19:18:33 +0000 (+0000) Subject: This feels like a more robust location than that of change 34954. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c6ae76470e6575530141df6c32cf71111bc2e391;p=p5sagit%2Fp5-mst-13.2.git This feels like a more robust location than that of change 34954. p4raw-id: //depot/perl@34955 --- diff --git a/scope.c b/scope.c index c0a8ba7..88fb53a 100644 --- a/scope.c +++ b/scope.c @@ -698,11 +698,11 @@ Perl_leave_scope(pTHX_ I32 base) register char* str; I32 i; - TAINT_NOT; - if (base < -1) Perl_croak(aTHX_ "panic: corrupt saved stack index"); while (PL_savestack_ix > base) { + TAINT_NOT; + switch (SSPOPINT) { case SAVEt_ITEM: /* normal string */ value = MUTABLE_SV(SSPOPPTR);