]> git.ipfire.org Git - thirdparty/bind9.git/commit
'dispatch' must be non NULL, remove test.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 05:53:43 +0000 (16:53 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commit891f24fa57ae8fba02eb21f32ce5fb40a080efc9
tree8c3b53bc38a940f76761f9bb2d5e99e734f10858
parentfccf65a5852da5fa399f0720469f77555f49998b
'dispatch' must be non NULL, remove test.

10067 cleanup:

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

10068        if (dispatch != NULL)
10069                isc_mem_put(server->mctx, dispatch, sizeof(*dispatch));
bin/named/server.c