diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-16 14:31:33 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-16 14:31:33 +0800 |
commit | 75911c5c896aaa22af3a1d8d3b4b9af0e4976211 (patch) | |
tree | e3a72b1bb30e6c192dcb76486c6b4087fa3e689c /mbbsd/announce.c | |
parent | 83adb6993917757ba2d03854e082ca010a888aac (diff) | |
download | pttbbs-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
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 10 |
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': |