aboutsummaryrefslogtreecommitdiffhomepage
path: root/version
diff options
context:
space:
mode:
authorGravatar Kazuo Teramoto <kaz.rag@gmail.com>2011-12-31 02:37:41 -0200
committerGravatar David Bremner <bremner@debian.org>2012-01-02 06:50:07 -0400
commitf80d4f9f6dc402d264f802241c17e26e7aa72851 (patch)
tree0216f959ac8ef2ac9f504c15de6abc9c17e79686 /version
parentbee7cb9472d8a84cff8a43c28f2c7cd684aedbea (diff)
lib: call g_mime_init() from notmuch_database_open()
As reported in id:"CAEbOPGyuHnz4BPtDutnTPUHcP3eYcRCRkXhYoJR43RUMw671+g@mail.gmail.com" sometimes gmime tries to access a NULL pointer, e.g. g_mime_iconv_open() tries to access iconv_cache that is NULL if g_mime_init() is not called. This causes notmuch to segfault when calling gmime functions. Calling g_mime_init() initializes iconv_cache and others variables needed by gmime, making sure they are initialized when notmuch calls gmime functions.
Diffstat (limited to 'version')
0 files changed, 0 insertions, 0 deletions