Skip to content

Commit 7c39a62

Browse files
committed
* opendkm/opendkim-db.c (dkimf_db_can_walk):
Add assertion db should not be NULL
1 parent a15213f commit 7c39a62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opendkim/opendkim-db.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5819,6 +5819,8 @@ dkimf_db_strerror(DKIMF_DB db, char *err, size_t errlen)
58195819
_Bool
58205820
dkimf_db_can_walk(DKIMF_DB db)
58215821
{
5822+
assert(db != NULL);
5823+
58225824
switch (db->db_type)
58235825
{
58245826
case DKIMF_DB_TYPE_REFILE:

0 commit comments

Comments
 (0)