From ee790063445e363f16d5865913a74a9b6fe5cc39 Mon Sep 17 00:00:00 2001 From: "dgay@acm.org" Date: Thu, 28 Sep 2006 10:30:37 -0700 Subject: [PATCH] [perl #40427] Segfault in pack From: dgay@acm.org (via RT) Message-ID: p4raw-id: //depot/perl@28917 --- pp_pack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pp_pack.c b/pp_pack.c index c898dce..51b42d9 100644 --- a/pp_pack.c +++ b/pp_pack.c @@ -2630,6 +2630,7 @@ S_pack_rec(pTHX_ SV *cat, tempsym_t* symptr, SV **beglist, SV **endlist ) if (savsym.howlen == e_star && beglist == endlist) break; /* No way to continue */ } + items = endlist - beglist; lookahead.flags = symptr->flags & ~group_modifiers; goto no_change; } -- 2.7.4