diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-05 13:11:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-05 13:11:08 +0000 |
commit | 3cd7077c1905416c779bbd268a0b9e41fff72e49 (patch) | |
tree | fdb28ed48e432bb0e47830e0721008c7e0cb02c6 /usr.bin/wall | |
parent | c4c4dc76753a5e94426d15536edeba5c7714a6dc (diff) |
make sure files are MAXPATHLEN sized; ianm@cit.uws.edu.au
Diffstat (limited to 'usr.bin/wall')
-rw-r--r-- | usr.bin/wall/wall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 46fc0a99021..9232f2799ac 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wall.c,v 1.16 2001/09/06 14:21:47 deraadt Exp $ */ +/* $OpenBSD: wall.c,v 1.17 2001/11/05 13:11:07 deraadt Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* @@ -44,7 +44,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif -static const char rcsid[] = "$OpenBSD: wall.c,v 1.16 2001/09/06 14:21:47 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: wall.c,v 1.17 2001/11/05 13:11:07 deraadt Exp $"; #endif /* not lint */ /* @@ -166,7 +166,7 @@ makemsg(char *fname) time_t now, time(); FILE *fp; int fd; - char *p, *whom, hostname[MAXHOSTNAMELEN], lbuf[100], tmpname[64]; + char *p, *whom, hostname[MAXHOSTNAMELEN], lbuf[100], tmpname[MAXPATHLEN]; char tmpbuf[5]; char *ttynam; |