[ale] [Fwd: Patch for serious bug in 1.0.3]

Geoffrey esoteric at 3times25.net
Fri May 3 14:35:28 EDT 2002


For you evolution users, from the gnome list...

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

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


-- 
Until later: Geoffrey		esoteric at 3times25.net

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?


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);




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.




More information about the Ale mailing list