summaryrefslogtreecommitdiff
path: root/games/dm/dm.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-14 09:58:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-14 09:58:28 +0000
commit4a799d6586061e587b055de5cab167204d488b50 (patch)
treec1407d4cc6854f5070229059451c85ef24ecca43 /games/dm/dm.c
parent39fc8dc6e08faa4f43c53ae7583495a39361f008 (diff)
better buf oflow protection
Diffstat (limited to 'games/dm/dm.c')
-rw-r--r--games/dm/dm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/dm/dm.c b/games/dm/dm.c
index 261e20fdcaf..9662e5228f5 100644
--- a/games/dm/dm.c
+++ b/games/dm/dm.c
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: dm.c,v 1.6 1998/05/14 09:51:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: dm.c,v 1.7 1998/05/14 09:58:27 deraadt Exp $";
#endif
#endif /* not lint */
@@ -122,7 +122,7 @@ play(args)
read_config()
{
FILE *cfp;
- char lbuf[BUFSIZ], f1[40], f2[40], f3[40], f4[40], f5[40];
+ char lbuf[BUFSIZ], f1[41], f2[41], f3[41], f4[41], f5[41];
if (!(cfp = fopen(_PATH_CONFIG, "r")))
return;