Bug#1286: bad typo in sendmail rmail.c
Package: sendmail
Version: 8.6.12-4
There is a typo in rmail.c that causes sendmail to fail under certain
conditions, here is a patch:
--- rmail.c.orig Sun Aug 27 13:07:30 1995
+++ rmail.c Sun Aug 27 13:12:53 1995
@@ -245,7 +245,7 @@
/*
(void)snprintf(buf, sizeof(buf), "-oMs%s", from_sys);
*/
- strncpy(buf, "-oM", sizeof(buf));
+ strncpy(buf, "-oMs", sizeof(buf));
strncat(buf, from_sys, sizeof(buf));
}
if ((args[i++] = strdup(buf)) == NULL)
--
A. B <=> True B. A <=> False
Email: Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
PGP Key: pgp-public-keys@pgp.mit.edu or any other key sites
Reply to: