From 00c4a848e63ee19ca7f36ba6e7ba0102cc086c09 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 29 Apr 2002 07:05:45 +0000 Subject: fix buffer overflow git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/announce.c') diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 5920e45e..2064ba9d 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -1,4 +1,4 @@ -/* $Id: announce.c,v 1.5 2002/04/28 19:35:28 in2 Exp $ */ +/* $Id: announce.c,v 1.6 2002/04/29 07:05:45 in2 Exp $ */ #include #include #include @@ -1248,7 +1248,7 @@ static void atitle() { } #endif -extern char currtitle[]; +extern char currtitle[TTLEN + 1]; char trans_buffer[256]; extern char quote_file[]; -- cgit v1.2.3