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 | bae6202ea518b5f09cf37ebba8636f15deb31208 (patch) | |
tree | d32806fbdd8404b002474e6fd890813e45234e3f | |
parent | e67708ab59ae055257ebf92cf4b671b9fe9a667a (diff) | |
download | pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar.gz pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar.bz2 pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar.lz pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar.xz pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.tar.zst pttbbs-bae6202ea518b5f09cf37ebba8636f15deb31208.zip |
security fix
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/announce.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c index 2b52bbc2..0e4d3fc4 100644 --- a/pttbbs/mbbsd/announce.c +++ b/pttbbs/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': |