>Number:         152255
>Category:       misc
>Synopsis:       evolution version 2.32 crash when sending email
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 05:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     sergio lenzi
>Release:        8.1
>Organization:
k1 sistemas
>Environment:
FreeBSD z6000.lenzinote 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Mon Oct 25 
22:23:14 BRST 2010     l...@lenzi.bsd:/usr/obj/usr/src/sys/server  amd64

>Description:
the new version of evolution (2.32) when using a locale other than en or C, it 
crashes when sending email
this happens in the module mail-ops.c near line 607. 
the code tries to extract a message from a glib error that is not an error, so 
error points to a null address.

>How-To-Repeat:
choose locale=pt-BR, or es...  and send an email
>Fix:
apply patch in the attach

Patch attached with submission follows:

--- mail/mail-ops.c.orig        2010-11-13 01:47:58.616916175 -0200
+++ mail/mail-ops.c     2010-11-13 01:48:44.389445975 -0200
@@ -605,9 +605,9 @@
                                sent_folder_uri, 0, &local_error);
                        if (folder == NULL) {
                                g_string_append_printf (
-                                       err, _("Failed to append to %s: %s\n"
+                                       err, _("Failed to append to %s\n"
                                        "Appending to local 'Sent' folder 
instead."),
-                                       sent_folder_uri, local_error->message);
+                                       sent_folder_uri);
                                g_clear_error (&local_error);
                        }
                }


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to