[Users] [Bug 3364] New: segfault in src/prefs_account.c

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Jan 14 16:02:09 CET 2015


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

            Bug ID: 3364
           Summary: segfault in src/prefs_account.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/prefs_account.c;h=934a1cf6d562ba3d51332ee9363a3f029878ccb4;hb=HEAD#l3847

3847         if (strchr(address, '@') == NULL) {
3848                 g_free(address);
3849                
gtk_label_set_text(GTK_LABEL(basic_page.auto_configure_lbl),
3850                            _("Failed (wrong address)"));
3851         }
3852         domain = strchr(address, '@') + 1;

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

https://bugzilla.redhat.com/1182146

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



More information about the Users mailing list