Re: [PATCH 2/2] lib: call g_mime_init from notmuch_database_open

Subject: Re: [PATCH 2/2] lib: call g_mime_init from notmuch_database_open

Date: Fri, 30 Dec 2011 23:02:39 -0400

To: Kazuo Teramoto, notmuch@notmuchmail.org

Cc:

From: David Bremner


On Fri, 30 Dec 2011 19:58:10 -0200, Kazuo Teramoto <kaz.rag@gmail.com> wrote:
> We need to call g_mime_init to correct initialize the structures needed
> by gmime before using it.
> ---
>  lib/database.cc |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)

I can confirm this patch (alone) fixes the segfault for me. and doesn't
cause in test failures when applied against the release branch.  I'm
considering pushing it into the 0.11 release. Any comments on that?

d

Thread: