[Users] [Bug 2862] Segmentation fault when replying to a message where the "code conversion" fails

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jan 21 18:43:22 CET 2013


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

--- Comment #7 from Fabian Keil <fk at fabiankeil.de> ---
The code that is removed by my patch still seems wrong to me, though.

The context is:

if (str) {
[...]
} else {
    conv_fail = TRUE;
    if ((scan_ret = scan_callback(str, cb_data)) == TRUE)
        break;
}

It looks like the else branch would always segfault due to str being NULL and I
suspect that other messages could still reach it.

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



More information about the Users mailing list