]> git.ipfire.org Git - thirdparty/bind9.git/commit
'dctx' must be non NULL, remove test.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 05:15:35 +0000 (16:15 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commit8456b5627dd36982a83778b4528ec09ade1f6dc3
tree0b39241ccc52cf5ad69d82ded57e419cc20f3754
parente4d08c023238fdbe515dc0ea7c65a7e1370893c1
'dctx' must be non NULL, remove test.

11030 cleanup:

CID 1452705 (#1 of 1): Dereference before null check
(REVERSE_INULL) check_after_deref: Null-checking dctx
suggests that it may be null, but it has already been
dereferenced on all paths leading to the check.

11031        if (dctx != NULL)
11032                dumpcontext_destroy(dctx);
11033        return (result);
bin/named/server.c