summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-11-20 14:21:28 +0000
committerNicholas Clark <nick@ccl4.org>2004-11-20 14:21:28 +0000
commitcf28e18a35edf50bf34f08788d10c879971e9922 (patch)
tree525a774388e8164ce9bfba6f1b9577d8a5e149fc /regcomp.c
parent7fc307b5b2c2555eb36e722b92df29f8a8d5db19 (diff)
downloadperl-cf28e18a35edf50bf34f08788d10c879971e9922.tar.gz
genuine possible buffer problems spotted by flawfinder
p4raw-id: //depot/perl@23520
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 7b4d647995..bcfb2a3d80 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -5128,7 +5128,7 @@ Perl_save_re_context(pTHX)
U32 i;
GV *mgv;
REGEXP *rx;
- char digits[16];
+ char digits[TYPE_CHARS(long)];
if (PL_curpm && (rx = PM_GETRE(PL_curpm))) {
for (i = 1; i <= rx->nparens; i++) {