]> git.ipfire.org Git - thirdparty/bind9.git/commit
'stub' cannot be non NULL, remove test.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 05:28:56 +0000 (16:28 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commit2e189bb053dcc1be16db9c6a0d23755fdb892069
treec8d48212ec853ec8cffdb5263b8fabd90079b403
parent1b1a94ea6da2c50702cfc6df349c4a173c7a9363
'stub' cannot be non NULL, remove test.

13429 cleanup:
13430        cancel_refresh(zone);

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

13431        if (stub != NULL) {
13432                stub->magic = 0;
lib/dns/zone.c