]> git.ipfire.org Git - thirdparty/bind9.git/commit
'event' must be non NULL, remove test.
authorMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 05:11:11 +0000 (16:11 +1100)
committerMark Andrews <marka@isc.org>
Wed, 5 Feb 2020 07:37:17 +0000 (18:37 +1100)
commite4d08c023238fdbe515dc0ea7c65a7e1370893c1
tree2d8af0589ac1327eb42911533673cc44c4894c4a
parentb6c3a2f172eee0dd9c734bdc0ea61ab265cb38c7
'event' must be non NULL, remove test.

1401        }

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

1402        if (event != NULL)
1403                isc_event_free(ISC_EVENT_PTR(&event));
lib/dns/client.c