summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-09 09:10:30 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-09 09:10:30 +0800
commitb36b48c02cb250e74679d8cae9ee4f69d0e0fb00 (patch)
tree07f8f9cc7a0bccdff6bacf4510c0b59ff775c2b8 /mbbsd/mail.c
parent29839340cfd1f9b72fb14cd9652ca8c87a19d098 (diff)
downloadpttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar.gz
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar.bz2
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar.lz
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar.xz
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.tar.zst
pttbbs-b36b48c02cb250e74679d8cae9ee4f69d0e0fb00.zip
name complete did not check invalid input.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 7acc84fe..e15cfd5c 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -627,6 +627,8 @@ multi_send(char *title)
static int
multi_reply(int ent, fileheader_t * fhdr, const char *direct)
{
+ /* this is not going to work because FILE_MULTI
+ * exceeds filemode data width. */
if (!(fhdr->filemode & FILE_MULTI))
return mail_reply(ent, fhdr, direct);