[evolution-patches] 41190, crash in mailer



simple ... tho perhaps etree shoudln't be calling any query methods on a
hidden root?

 Z

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2690
diff -u -3 -r1.2690 ChangeLog
--- ChangeLog	11 Apr 2003 21:18:07 -0000	1.2690
+++ ChangeLog	14 Apr 2003 02:37:01 -0000
@@ -1,3 +1,9 @@
+2003-04-14  Not Zed  <NotZed Ximian com>
+
+	* message-list.c (ml_tree_value_at): if the node is the root node,
+	do nothing.  etable shouldn' really be searching the root node if
+	it isn't visible ...?  For #41190.
+
 2003-04-11  Jeffrey Stedfast  <fejj ximian com>
 
 	Fixes bug #41243.
Index: message-list.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/message-list.c,v
retrieving revision 1.336
diff -u -3 -r1.336 message-list.c
--- message-list.c	7 Apr 2003 20:21:38 -0000	1.336
+++ message-list.c	14 Apr 2003 02:37:02 -0000
@@ -886,6 +886,9 @@
 	MessageList *message_list = model_data;
 	CamelMessageInfo *msg_info;
 	const char *str;
+
+	if (e_tree_model_node_is_root (etm, path))
+		return NULL;
 	
 	/* retrieve the message information array */
 	msg_info = e_tree_memory_node_get_data (E_TREE_MEMORY(etm), path);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]