summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorAdrian M. Enache <enache@rdslink.ro>2003-03-29 01:53:09 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-05 20:07:33 +0000
commit4b3c1a47dc0fd4f1dba8913d1d8984fe79997756 (patch)
treed9997bad58e169c9c44a18aa34a1eb1bd6a214c0 /regexec.c
parent048912995c485d977c9d43b63b517de870c722d5 (diff)
downloadperl-4b3c1a47dc0fd4f1dba8913d1d8984fe79997756.tar.gz
[patch] Re: [perl #21728] regexp SEGV
Message-ID: <20030328215309.GA6413@ratsnest.hole> (with minor tweaks) p4raw-id: //depot/perl@19431
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index a3c7a7d668..7acee5b3e6 100644
--- a/regexec.c
+++ b/regexec.c
@@ -172,7 +172,7 @@ S_regcppush(pTHX_ I32 parenfloor)
Perl_croak(aTHX_ "panic: paren_elems_to_push < 0");
#define REGCP_OTHER_ELEMS 6
- SSCHECK(paren_elems_to_push + REGCP_OTHER_ELEMS);
+ SSGROW(paren_elems_to_push + REGCP_OTHER_ELEMS);
for (p = PL_regsize; p > parenfloor; p--) {
/* REGCP_PARENS_ELEMS are pushed per pairs of parentheses. */
SSPUSHINT(PL_regendp[p]);