summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/mail.local/mail.local.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-03-29 19:44:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-03-29 19:44:02 +0000
commitfa6d320b863c487d67b4160bad23b6d94653982a (patch)
treecd1e78b817b3948ba0b08dd84cad38b46ca50d3b /gnu/usr.sbin/sendmail/mail.local/mail.local.c
parent471a7e35aa8eb1431337626194e0eed0384c338c (diff)
Update to sendmail 8.12.9; fixes a buffer overflow in address parsing
due to a char to int conversion problem which is potentially remotely exploitable.
Diffstat (limited to 'gnu/usr.sbin/sendmail/mail.local/mail.local.c')
-rw-r--r--gnu/usr.sbin/sendmail/mail.local/mail.local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/mail.local/mail.local.c b/gnu/usr.sbin/sendmail/mail.local/mail.local.c
index fec1199b7e5..6f55e8959f3 100644
--- a/gnu/usr.sbin/sendmail/mail.local/mail.local.c
+++ b/gnu/usr.sbin/sendmail/mail.local/mail.local.c
@@ -18,7 +18,7 @@ SM_IDSTR(copyright,
Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n")
-SM_IDSTR(id, "@(#)$Sendmail: mail.local.c,v 8.239.2.4 2003/01/15 19:17:15 ca Exp $")
+SM_IDSTR(id, "@(#)$Sendmail: mail.local.c,v 8.239.2.5 2003/03/15 23:43:20 gshapiro Exp $")
#include <stdlib.h>
#include <sm/errstring.h>
@@ -1135,7 +1135,7 @@ tryagain:
goto err1;
}
- /* Get the starting offset of the new message for biff. */
+ /* Get the starting offset of the new message */
curoff = lseek(mbfd, (off_t) 0, SEEK_END);
(void) sm_snprintf(biffmsg, sizeof(biffmsg), "%s@%lld\n",
name, (LONGLONG_T) curoff);