]> git.cworth.org Git - notmuch/commitdiff
lib: fix NULL checks for filenames iterators
authorSascha Silbe <sascha-pgp@silbe.org>
Sun, 24 Jun 2012 16:29:24 +0000 (18:29 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 2 Sep 2012 02:03:11 +0000 (23:03 -0300)
The API documentation (notmuch.h) states that the parameter may be NULL,
but the implementation only checked the current element, potentially
dereferencing a NULL pointer in the process.

Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>

No differences found