[Users] [Bug 3365] New: segfault in src/wizard.c

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Jan 14 16:07:18 CET 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3365

            Bug ID: 3365
           Summary: segfault in src/wizard.c
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.11.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI
          Assignee: users at lists.claws-mail.org
          Reporter: mschwendt at fedoraproject.org

http://git.claws-mail.org/?p=claws.git;a=blob;f=src/wizard.c;h=717bb9fd0581adc47e3232c5e78dcceef8ba5867;hb=HEAD#l1371

1371         if (strchr(address, '@') == NULL) {
1372                 g_free(address);
1373                 gtk_label_set_text(GTK_LABEL(wizard->auto_configure_lbl),
1374                            _("Failed (wrong address)"));
1375         }
1376         domain = strchr(address, '@') + 1;

1388                         recv_data->domain = g_strdup(domain);

The error-handling for the case "no @ found in address" frees the address ptr,
but accesses it in lines 1376 and 1388 again. domain ptr becomes 0x1 causing a
crash.

https://bugzilla.redhat.com/1123895

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list