Summary: | Claws-mail segfault | ||
---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | rce-dev |
Component: | Folders/IMAP | Assignee: | users |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.16.0 | ||
Hardware: | PC | ||
OS: | Linux |
Description
rce-dev
2018-04-23 22:36:00 UTC
On a quick glance, it seems to me that the crash is inside libetpan, due to a missing NULL check on the sel_flags member of struct mailimap_selection_info. It is initialized to NULL when the struct is allocated earlier, but perhaps due to the IMAP server's lack of support for flags, it is never used, and mailimap_selection_info_free() (and subsequently clist_free()) does not expect it. Can you please post contents of ~/.claws-mail/claws.log (with folder names etc. sufficiently sanitized, if you feel like it) from the crashing run? I'd like to see the network traffic between Claws Mail and the server. If you are in a position to recompile libetpan yourself, can you please try it with this change applied? It should fix the crash. https://github.com/ticho/libetpan/commit/aeab7755a44e8b22d373e94ab043e7d0c8fb016c I've compiled libetpan with the suggested changes. The crash issue is fixed. May I assume there is no need for the information requested in Comment 1? Thanks, very much, for your assistance. Thanks for the confirmation, I sent the fix upstream: https://github.com/dinhviethoa/libetpan/pull/290 As for the log, you're right that it is not necessary, although I'm still curious how exactly the IMAP protocol responses from this ProtonMail Bridge look, so that it confuses libetpan and makes it hit this unhandled case. If you could send it to me privately (ticho at claws-mail.org), I'd be grateful. It's up to you, though. I'm closing this ticket as INVALID, since it is not a bug in Claws Mail. |