From: Sascha Silbe Date: Sun, 24 Jun 2012 16:29:24 +0000 (+0200) Subject: lib: fix NULL checks for filenames iterators X-Git-Tag: 0.15_rc1~257 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8dd4e9770ec12de9b2e6fc53259375b2d1720f38;hp=8dd4e9770ec12de9b2e6fc53259375b2d1720f38;p=notmuch lib: fix NULL checks for filenames iterators 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 ---