[PATCH 1/3] lib: fix NULL checks for filenames iterators

2012-09-01 Thread David Bremner
Sascha Silbe writes: > 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. > Pushed this one patch. d

Re: [PATCH 1/3] lib: fix NULL checks for filenames iterators

2012-09-01 Thread David Bremner
Sascha Silbe writes: > 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. > Pushed this one patch. d ___ notmuc

[PATCH 1/3] lib: fix NULL checks for filenames iterators

2012-06-24 Thread Sascha Silbe
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 --- lib/filenames.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 1/3] lib: fix NULL checks for filenames iterators

2012-06-24 Thread Sascha Silbe
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 --- lib/filenames.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)