summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail/src/savemail.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-02-23 00:20:00 +0000
committerpst <pst@FreeBSD.org>1995-02-23 00:20:00 +0000
commit37063bd4edb87b70b019d35bddf18209ab478c44 (patch)
treec2ec59123a60e285b451f58acfbedc78a4aab7f2 /usr.sbin/sendmail/src/savemail.c
parentbabe0fd0e29aedfa2e1d473fbb3dcec915a3b575 (diff)
downloadFreeBSD-src-37063bd4edb87b70b019d35bddf18209ab478c44.zip
FreeBSD-src-37063bd4edb87b70b019d35bddf18209ab478c44.tar.gz
Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch. Obtained from: CSRG/Allman
Diffstat (limited to 'usr.sbin/sendmail/src/savemail.c')
-rw-r--r--usr.sbin/sendmail/src/savemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/savemail.c b/usr.sbin/sendmail/src/savemail.c
index 6467def..214dca5 100644
--- a/usr.sbin/sendmail/src/savemail.c
+++ b/usr.sbin/sendmail/src/savemail.c
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)savemail.c 8.28 (Berkeley) 3/11/94";
+static char sccsid[] = "@(#)savemail.c 8.29 (Berkeley) 5/10/94";
#endif /* not lint */
# include "sendmail.h"
@@ -521,7 +521,7 @@ returntosender(msg, returnq, sendbody, e)
e->e_id, ee->e_id, msg);
# endif
- (void) sprintf(buf, "Returned mail: %s", msg);
+ (void) sprintf(buf, "Returned mail: %.*s", sizeof buf - 20, msg);
addheader("Subject", buf, ee);
if (SendMIMEErrors)
{
OpenPOWER on IntegriCloud