]> git.cworth.org Git - notmuch/commitdiff
lib: convert relative filenames to absolute in n_d_index_file
authorDavid Bremner <david@tethera.net>
Sun, 19 Jul 2020 00:11:28 +0000 (21:11 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 22 Jul 2020 22:52:55 +0000 (19:52 -0300)
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


No differences found