summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/htshash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/htshash.c b/src/htshash.c
index d740de7..b06b68c 100644
--- a/src/htshash.c
+++ b/src/htshash.c
@@ -131,10 +131,14 @@ static int key_adrfil_equals_generic(void *arg, const char *a_, const char *b_,
// safety
assertf(a_adr != NULL);
assertf(b_adr != NULL);
+ assertf(a_fil != NULL);
+ assertf(b_fil != NULL);
// skip scheme and authentication to the domain (possibly without www.)
ja = normalized ? jump_normalized(a_adr) : jump_identification(a_adr);
jb = normalized ? jump_normalized(b_adr) : jump_identification(b_adr);
+ assertf(ja != NULL);
+ assertf(jb != NULL);
if (strcasecmp(ja, jb) != 0) {
return 0;
}