Date: Sun, 02 Feb 1997 11:20:51 +0100 (MET) From: Thomas Pundt <pundtt@ESCHER.UNI-MUENSTER.DE> To: Simon Shapiro <Shimon@i-Connect.Net> Cc: djb-qmail@koobera.math.uic.edu, xfmail@Burka.NetVision.net.il, hackers@freebsd.org Subject: RE: Very Strange Mail Problem Message-ID: <XFMail.970202113006.pundtt@math.uni-muenster.de> In-Reply-To: <XFMail.970201165834.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.1-alpha.p0.Linux:970202113006:1277=_ Content-Type: text/plain; charset=iso-8859-1 On 02-Feb-97 Simon Shapiro wrote: | Attached are two pieces of email. If I feed either one of them to xfmail | 1.0 (or later, did not try older) all is well. | | If I concatenate them, xfmail dumps core on sig 11. [...] | I have no clue why this happens, except that the Subject: line appears | long. So, if any of you can help, I will appreciate it very much. it's an XFMail bug, indeed caused by the long "Subject:" line; attached is a patch that fixes the problem. Thomas Thomas Pundt ------------------------ http://wwwmath.uni-muenster.de/~pundtt/ Westfaelische Wilhelms-Universitaet | pundtt@math.uni-muenster.de Einsteinstr. 62, D-48149 Muenster | Edith-Stein-Str. 9, D-48149 Muenster (+49) 251 - 83 33747 | privat: (+49) 251 - 273305 --_=XFMail.1.1-alpha.p0.Linux:970202113006:1277=_ Content-Disposition: attachment; filename="diff" Content-Transfer-Encoding: 7bit Content-Description: diff Content-Type: text/plain; charset=us-ascii; name=diff; SizeOnDisk=343 diff -urN xfmail/ui/xfmail.c xfmail~/ui/xfmail.c --- xfmail/ui/xfmail.c Mon Dec 30 17:40:13 1996 +++ xfmail~/ui/xfmail.c Sun Feb 2 11:18:47 1997 @@ -178,7 +178,7 @@ va_start(ap); #endif - vsprintf(buf, fmt, ap); + vsnprintf(buf, 255, fmt, ap); if ((flags == MSG_FATAL) || (flags == MSG_WARN)) { #if defined(_AIX) || defined(SunOS) --_=XFMail.1.1-alpha.p0.Linux:970202113006:1277=_-- End of MIME message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970202113006.pundtt>