[PATCH] crypto: gracefully handle gmime errors

David Bremner david at tethera.net
Thu Aug 31 07:30:30 PDT 2017


David Bremner <david at tethera.net> writes:

> Jan Malakhovski <oxij at oxij.org> writes:
>
>> Before: dies by SIGSEGV when gmime produces an error.
>> After: doesn't print NULL mime nodes.
>> ---
>
> It's probably an improvement on the status quo, but shouldn't we be
> trying to report some errors somehow?
>
> d

Oh, by the way, I think this was reported already in
id:qf5d17wzq90.fsf at google.com, but we don't have a test case. So if you
have (or can make) a message that triggers these segfaults, and that you
can share, that would be helpful.

d


More information about the notmuch mailing list