notmuch/lib
David Bremner c477d7ce31 lib: convert relative filenames to absolute in n_d_index_file
The API docs promise to handle relative filenames, but the code did
not do it.

Also check for files outside the mail root, as implied by the API
description.

This fixes the bug reported at

     id:87sgdqo0rz.fsf@tethera.net
2020-07-22 19:52:55 -03:00
..
add-message.cc lib/add-message: drop use of deprecated notmuch_message_get_flag. 2020-07-18 11:03:28 -03:00
built-with.c build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
config.cc notmuch release 0.29.3-1 for unstable (sid) [dgit] 2019-11-27 08:45:43 -04:00
database-private.h lib: move deallocation of memory from n_d_close to n_d_destroy 2020-07-22 19:52:55 -03:00
database.cc lib/n_d_needs_upgrade: handle error return from n_d_get_version 2020-07-22 19:52:55 -03:00
directory.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc smime: Index cleartext of envelopedData when requested 2020-05-22 22:12:00 -03:00
indexopts.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: add thread subqueries. 2018-05-07 08:42:53 -03:00
message-file.c lib: convert relative filenames to absolute in n_d_index_file 2020-07-22 19:52:55 -03:00
message-id.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
message.cc lib: fix exception messages for n_m_message_* 2020-07-22 19:52:55 -03:00
messages.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
notmuch-private.h repair: set up codebase for repair functionality 2019-09-01 08:20:25 -03:00
notmuch.h lib/n_d_needs_upgrade: handle error return from n_d_get_version 2020-07-22 19:52:55 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc lib: migrate from Xapian ValueRangeProcessor to RangeProcessor 2020-07-11 17:20:09 -03:00
parse-time-vrp.h lib: migrate from Xapian ValueRangeProcessor to RangeProcessor 2020-07-11 17:20:09 -03:00
query-fp.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
regexp-fields.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
regexp-fields.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
sha1.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-list.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-map.c lib/string_map: fix return type of string_cmp 2019-03-05 21:46:41 -04:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread-fp.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
thread-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
thread.cc lib/thread: replace use of deprecated notmuch_message_get_flag 2020-07-18 11:03:29 -03:00