diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-12 13:46:40 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-12 13:46:40 +0000 |
commit | 47f23cda403e59d4339c4efd24d97aaa21bfe4a8 (patch) | |
tree | 9d2dcfdcd059eac00f04349cf6f60d5ec00af10b /src | |
parent | 4e903579b22f3698934294370f076119576041ab (diff) |
Additional assert(s)
Diffstat (limited to 'src')
-rw-r--r-- | src/htshash.c | 4 |
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; } |