projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8947592
)
Fix possible buffer overflow under VMS
Chip Salzenberg [Sat, 1 Mar 1997 06:14:33 +0000 (18:14 +1200)]
taint.c
patch
|
blob
|
blame
|
history
diff --git
a/taint.c
b/taint.c
index
584c9f4
..
321c7b8
100644
(file)
--- 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)