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

Re: zmailer-2.99-42 /SPARC /Solaris smtp dumps core




On Tue, 26 Nov 1996, Matti Aarnio wrote:

> 	Oops.  Forgot to clear one part of the "SmtpState" structure.
> 	Diff here:  (I did test things with verbose logging on, of course..)
> 
> 
> --- transports/smtp/smtp.c~	Sun Nov 24 16:59:01 1996
> +++ transports/smtp/smtp.c	Tue Nov 26 14:08:23 1996
> @@ -364,6 +364,7 @@
>  	SS.smtpfp	 = NULL;
>  	SS.pipebuf       = NULL;
>  	SS.pipecmds	 = NULL;
> +	SS.verboselog    = NULL;

There is another one:
	SS.pipespace = 0;
is missing in the initialization above. I had a smpt process waiting for
godot while trying to allocate an insane amount of memory for the pipebuf.

Greetings, Swen