notmuch/lib
Tomi Ollila 930920d510 lib/message.cc: fix Coverity finding (use after free)
The object where pointer to `data` was received was deleted before
it was used in _notmuch_string_list_append().

Relevant Coverity messages follow:

3: extract
Assigning: data = std::__cxx11::string(message->doc.()).c_str(),
which extracts wrapped state from temporary of type std::__cxx11::string.

4: dtor_free
The internal representation of temporary of type std::__cxx11::string
is freed by its destructor.

5: use after free:
Wrapper object use after free (WRAPPER_ESCAPE)
Using internal representation of destroyed object local data.

(cherry picked from commit 06adc27668)
2017-03-19 09:36:51 -03:00
..
built-with.c lib: add built_with handling for XAPIAN_DB_RETRY_LOCK 2016-06-29 09:05:49 +02:00
config.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
database-private.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
database.cc lib: fix g_hash_table related read-after-free bug 2017-02-22 06:28:03 -04:00
directory.cc lib: update cached mtime in notmuch_directory_set_mtime 2016-08-23 20:58:46 -03:00
filenames.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gen-version-script.sh Use https instead of http where possible 2016-06-05 08:32:17 -03:00
index.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
libsha1.c util: detect byte order 2013-11-27 07:43:29 -04: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 lib: basic message-property API 2016-09-21 18:14:24 -03:00
message-file.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
message-private.h lib: basic message-property API 2016-09-21 18:14:24 -03:00
message-property.cc lib: iterator API for message properties 2016-09-21 18:14:25 -03:00
message.cc lib/message.cc: fix Coverity finding (use after free) 2017-03-19 09:36:51 -03:00
messages.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-private.h lib: extend private string map API with iterators 2016-09-21 18:14:24 -03:00
notmuch.h lib: document API added in 0.23 2016-10-06 22:46:01 -03:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: provide _notmuch_database_log_append 2016-08-09 09:34:11 +09:00
sha1.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
string-list.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
string-map.c lib: add talloc reference from string map iterator to map 2016-09-24 10:08:45 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00