summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-16 14:31:33 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-16 14:31:33 +0800
commit75911c5c896aaa22af3a1d8d3b4b9af0e4976211 (patch)
treee3a72b1bb30e6c192dcb76486c6b4087fa3e689c
parent83adb6993917757ba2d03854e082ca010a888aac (diff)
downloadpttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar.gz
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar.bz2
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar.lz
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar.xz
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.tar.zst
pttbbs-75911c5c896aaa22af3a1d8d3b4b9af0e4976211.zip
security fix
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/announce.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 2b52bbc2..0e4d3fc4 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -1,4 +1,4 @@
-/* $Id: announce.c,v 1.20 2003/05/16 05:57:38 in2 Exp $ */
+/* $Id: announce.c,v 1.21 2003/05/16 06:31:33 in2 Exp $ */
#include "bbs.h"
static void
@@ -1393,8 +1393,12 @@ a_menu(char *maintitle, char *path, int lastlevel)
break;
case 's':
- AnnounceSelect();
- me.page = 9999;
+ /* XXX: security problem
+ 透過這個方式跳的時候不會 update currboard ,
+ 可能會導致像是 check BM 的時候不正確
+ AnnounceSelect();
+ me.page = 9999;
+ */
break;
case 'e':