summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-21 08:30:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-21 08:30:01 +0000
commit1d3f6039c46a64ac4b349f486afe656cd34475e4 (patch)
tree85057258196a2d8dbd2f7a525509f06e96ddafea /libexec
parent61a3af407aa1d48d6c96a0a4be92fc87603a996d (diff)
vis() buf overflow
Diffstat (limited to 'libexec')
-rw-r--r--libexec/comsat/comsat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index 5d0875b1611..8e2634a6670 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$Id: comsat.c,v 1.9 1998/07/13 02:11:14 millert Exp $";
+static char rcsid[] = "$Id: comsat.c,v 1.10 1999/02/21 08:30:00 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -243,7 +243,7 @@ jkfprintf(tp, name, offset)
off_t offset;
{
register char *cp, ch;
- char visout[4], *s2;
+ char visout[5], *s2;
register FILE *fi;
register int linecnt, charcnt, inheader;
register struct passwd *p;