notmuch/lib
Kazuo Teramoto f80d4f9f6d 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.
2012-01-02 06:50:07 -04:00
..
database-private.h lib: Add support for nested atomic sections. 2011-09-23 21:50:38 -04:00
database.cc lib: call g_mime_init() from notmuch_database_open() 2012-01-02 06:50:07 -04:00
directory.cc Add a generic function to get a list of terms with some prefix. 2011-03-21 02:45:18 -04:00
filenames.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
gen-version-script.sh lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed 2011-09-05 07:44:14 -03:00
index.cc tag signed/encrypted during notmuch new 2011-05-27 16:22:00 -07:00
libsha1.c fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
libsha1.h fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local Don't link libnotmuch if libutil isn't linked in properly. 2011-11-19 15:18:05 -04:00
message-file.c Fix appending of Received headers 2011-06-10 17:03:14 -07:00
message.cc tags_to_maildir_flags: Cleanup double assignement 2011-11-21 20:32:32 -04:00
messages.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
notmuch-private.h Store "from" and "subject" headers in the database. 2011-11-14 17:10:58 -04:00
notmuch.h lib: add function to get the number of threads matching a search 2011-11-15 19:12:32 -04:00
query.cc lib: add function to get the number of threads matching a search 2011-11-15 19:12:32 -04:00
sha1.c Typsos 2009-11-18 03:21:36 -08:00
string-list.c Fixup string list author 2011-03-21 02:45:18 -04:00
tags.c Implement an internal generic string list and use it. 2011-03-21 02:45:18 -04:00
thread.cc Mark some structures in the library interface with visibility=default attribute. 2011-05-11 13:27:15 -07:00