From 05065d99c78a53f6ab97086574a01d75be79decc Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 18 Jul 2005 16:04:16 +0000 Subject: - Patch nine bugs: #79 - INTERNALDATE reponses do not conform to RFC #145 - LMTP loses return-path #177 - Compile Fails on FreeBSD (fixes compilation on FreeBSD 4.X) #184 - socklen_t issue #190 - huge load if database crash #198 - DBMail processes killing each other #199 - spare child creates zombie #214 - dbmail-smtp dumps core with double free #216 - malformed header prevents delivery - Fix RC_SUBR usage PR: ports/83437, also ports/80736, ports/82437, ports/83575 Submitted by: Mark Starovoytov , parts also by: Radim Kolar , thompsa, Marcus Grando Approved by: maintainer timeout (2 months on oldest PR) --- mail/dbmail/files/patch-2.0.4_bug214_main.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mail/dbmail/files/patch-2.0.4_bug214_main.c (limited to 'mail/dbmail/files/patch-2.0.4_bug214_main.c') diff --git a/mail/dbmail/files/patch-2.0.4_bug214_main.c b/mail/dbmail/files/patch-2.0.4_bug214_main.c new file mode 100644 index 000000000000..18dfefa77e80 --- /dev/null +++ b/mail/dbmail/files/patch-2.0.4_bug214_main.c @@ -0,0 +1,20 @@ +Index: main.c +=================================================================== +--- main.c (revision 1793) ++++ main.c (revision 1796) +@@ -133,6 +133,7 @@ + trace(TRACE_ERROR, "%s,%s: error reading message", + __FILE__, __func__); + dm_free(tmpmessage); ++ tmpmessage=NULL; + return -1; + } + +@@ -371,6 +372,7 @@ + trace(TRACE_ERROR, "%s,%s splitmessage failed", + __FILE__, __func__); + dm_free(whole_message); ++ whole_message=NULL; + exitcode = EX_TEMPFAIL; + goto freeall; + } -- cgit v1.2.3