diff options
author | ache <ache@FreeBSD.org> | 2003-10-04 02:28:59 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-10-04 02:28:59 +0000 |
commit | 2017a2072650a92ff4c870b0f2ecb82ce9580e20 (patch) | |
tree | 09ba13c592e196a7e0cfecedbae921ca00917b92 /mail | |
parent | ad6c9340bc5d5ba77bacc1440b00e4efd1d777b0 (diff) | |
download | FreeBSD-ports-2017a2072650a92ff4c870b0f2ecb82ce9580e20.zip FreeBSD-ports-2017a2072650a92ff4c870b0f2ecb82ce9580e20.tar.gz |
Fix -M core dump
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-sender/files/patch-ad | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/milter-sender/files/patch-ad b/mail/milter-sender/files/patch-ad new file mode 100644 index 0000000..1637694 --- /dev/null +++ b/mail/milter-sender/files/patch-ad @@ -0,0 +1,11 @@ +--- milter-sender.c.bak Fri Oct 3 13:54:10 2003 ++++ milter-sender.c Sat Oct 4 06:03:58 2003 +@@ -2326,7 +2326,7 @@ + /* Generate a false address. */ + TextInvert(data->replyLine, 0, -1); + TextReverse(data->replyLine, 0, -1); +- (void) snprintf(data->line, SMTP_LINE_SIZE, "RCPT TO:<%s%d@%s>\r\n", data->replyLine, data->domain, LuhnGenerate(data->replyLine)); ++ (void) snprintf(data->line, SMTP_LINE_SIZE, "RCPT TO:<%s%d@%s>\r\n", data->replyLine, LuhnGenerate(data->replyLine), data->domain); + + if (!printline(data, data->line)) { + rc = setReply(data, 450, NULL, MX_INFO_FORMAT " socket write error", MX_INFO_ARGS); |