[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixes for 2.99.42




Hi,

I had to make the following changes to make smtp work reliably. The first
fixes a coredump, since hdr is not assigned, the second adds the
initialization of SS.pipespace I mentioned in an earlier message.

Greetings, Swen


diff -ubr zmailer-2.99.42.orig/transports/libta/mimeheaders.c zmailer-2.99.42/transports/libta/mimeheaders.c
--- zmailer-2.99.42.orig/transports/libta/mimeheaders.c	Sun Nov 24 15:37:28 1996
+++ zmailer-2.99.42/transports/libta/mimeheaders.c	Wed Nov 27 13:55:52 1996
@@ -894,6 +894,8 @@
 
 	if (!CTE) return 0; /* No C-T-E header! */
 
+	hdr = *CTE;
+
 	p = hdr + 26;
 	while (*p == ' ' || *p == '\t') ++p;
 	if (*p == 'Q' || *p == 'q') {

diff -ubr zmailer-2.99.42.orig/transports/smtp/smtp.c zmailer-2.99.42/transports/smtp/smtp.c
--- zmailer-2.99.42.orig/transports/smtp/smtp.c	Wed Nov 27 14:23:59 1996
+++ zmailer-2.99.42/transports/smtp/smtp.c	Wed Nov 27 14:00:43 1996
@@ -363,6 +363,7 @@
 	SS.ehlo_sizeval  = -1;
 	SS.smtpfp	 = NULL;
 	SS.pipebuf       = NULL;
+	SS.pipespace     = 0;
 	SS.pipecmds	 = NULL;
 	SS.verboselog    = NULL;