bind9/bin/plugins
Mark Andrews bb705e9a90 Remove 'inst != NULL' from cleanup check in plugin_register
'inst' is guarenteed to be non NULL at this point.

    358        *instp = inst;
    359
    360cleanup:

    CID 281450 (#2 of 2): Dereference before null check (REVERSE_INULL)
    check_after_deref: Null-checking inst suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
    361        if (result != ISC_R_SUCCESS && inst != NULL) {
    362                plugin_destroy((void **)&inst);
    363        }
    364
    365        return (result);

(cherry picked from commit 8c5539e905)
2023-04-05 10:27:52 +10:00
..
filter-a.c Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-05 10:27:52 +10:00
filter-a.rst Hyperlink program names to their manual pages 2022-03-14 11:01:31 +01:00
filter-aaaa.c Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-05 10:27:52 +10:00
filter-aaaa.rst Hyperlink program names to their manual pages 2022-03-14 11:01:31 +01:00
Makefile.am Add filter-a plugin for IPv6-dominant environments 2021-03-19 08:06:55 +01:00