]> git.notmuchmail.org Git - notmuch/commit
lib/tag: handle NULL argument to notmuch_tags_valid
authorDavid Bremner <david@tethera.net>
Wed, 25 May 2022 10:51:14 +0000 (07:51 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 25 Jun 2022 19:05:45 +0000 (16:05 -0300)
commite70df920851c6c00000b7707e3b61650548fbce7
treef09c0e8f3b88eb12c5bf571a34468f185bfca7a0
parent00ec2b271d457bf7b81efed8ff91e52290a38f4a
lib/tag: handle NULL argument to notmuch_tags_valid

Make the behaviour when passed NULL consistent with
notmuch_filenames_valid. The library already passes the result of
notmuch_message_get_tags without checking for NULL, so it should be
handled.
lib/notmuch.h
lib/tags.c
test/T565-lib-tags.sh