summaryrefslogtreecommitdiff
path: root/taint.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-03-01 18:14:33 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-27 00:00:00 +1200
commit0dc443ab240d96700aca2fe15c6e555416114ee7 (patch)
tree44483ab7ba0fe66ee39e67a3379360f1936dd329 /taint.c
parent894759269bb26e96d2633c2c986cb78b06a5f0ca (diff)
downloadperl-0dc443ab240d96700aca2fe15c6e555416114ee7.tar.gz
Fix possible buffer overflow under VMS
Diffstat (limited to 'taint.c')
-rw-r--r--taint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/taint.c b/taint.c
index 584c9f48fe..321c7b8056 100644
--- a/taint.c
+++ b/taint.c
@@ -39,7 +39,7 @@ taint_env()
#ifdef VMS
int i = 0;
- char name[14] = "DCL$PATH";
+ char name[10 + TYPE_DIGITS(int)] = "DCL$PATH";
while (1) {
if (i)