Skip site navigation (1)Skip section navigation (2)
Date:      03 May 2002 13:42:07 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-ports@freebsd.org
Subject:   [Fwd: [Evolution-hackers] Patch for serious bug in 1.0.3]
Message-ID:  <1020451327.331.10.camel@lerlaptop>

next in thread | raw e-mail | index | archive | help

FYI
-----Forwarded Message-----

From: Ettore Perazzoli <ettore@ximian.com>
To: GNOME Announces <gnome-announce-list@gnome.org>, Evolution Hackers Mailing List <evolution-hackers@ximian.com>, Evolution Mailing List <evolution@ximian.com>
Subject: [Evolution-hackers] Patch for serious bug in 1.0.3
Date: 03 May 2002 14:21:10 -0400

Hello,

as reported on the mailing list yesterday, Evolution 1.0.3 has a serious
bug that can make it eat all the memory on your system and then crash
when downloading certain messages with invalid headers.

The attached patch fixes the problem.  It is strongly advised that users
and distributions apply this patch to their builds ASAP, until a new
tarball with the fix is released by the Evolution team.  (For technical
reasons, this cannot happen until next week.)

Thanks,

-- 
Ettore
----


Index: camel-mime-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-mime-utils.c,v
retrieving revision 1.146.6.6
diff -u -r1.146.6.6 camel-mime-utils.c
--- camel-mime-utils.c	12 Apr 2002 06:43:56 -0000	1.146.6.6
+++ camel-mime-utils.c	3 May 2002 03:05:46 -0000
@@ -2367,7 +2367,7 @@
 			} else {
 				/* Fix for stupidly-broken-mailers that like to put '.''s in names unquoted */
 				/* see bug #8147 */
-				if (*inptr && *inptr != '<') {
+				while (!pre && *inptr && *inptr != '<') {
 					w(g_warning("Working around stupid mailer bug #5: unescaped characters in names"));
 					name = g_string_append_c(name, *inptr++);
 					pre = header_decode_word(&inptr);
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1020451327.331.10.camel>