bind9/bin
Matthijs Mekking 8df629d0b2 Fix control flow issue CID 314969 in zoneconf.c
Coverity Scan identified the following issue in bin/named/zoneconf.c:

    *** CID 314969:  Control flow issues  (DEADCODE)
    /bin/named/zoneconf.c: 2212 in named_zone_inlinesigning()

    if (!inline_signing && !zone_is_dynamic &&
        cfg_map_get(zoptions, "dnssec-policy", &signing) == ISC_R_SUCCESS &&
        signing != NULL)
    {
        if (strcmp(cfg_obj_asstring(signing), "none") != 0) {
            inline_signing = true;
    >>>     CID 314969:  Control flow issues  (DEADCODE)
    >>>     Execution cannot reach the expression ""no"" inside this statement: "dns_zone_log(zone, 1, "inli...".
            dns_zone_log(
                zone, ISC_LOG_DEBUG(1), "inline-signing: %s",
                inline_signing
                ? "implicitly through dnssec-policy"
                : "no");
        } else {
                ...
        }
    }

This is because we first set 'inline_signing = true' and then check
its value in 'dns_zone_log'.
2021-01-18 11:48:09 +01:00
..
check Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
confgen Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
delv Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
dig Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
dnssec Fix dnssec-signzone and dnssec-verify logging 2021-01-04 03:59:10 +00:00
named Fix control flow issue CID 314969 in zoneconf.c 2021-01-18 11:48:09 +01:00
nsupdate Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
pkcs11 Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
plugins Use libuv's shared library handling capabilities 2020-10-28 15:48:58 +01:00
rndc Drop unused headers 2020-11-11 10:08:12 +01:00
tests Update serve-stale system test with new defaults 2021-01-11 11:13:45 +01:00
tools Handle shared library platforms that don't support inter library dependancies 2020-12-21 01:09:45 +00:00
win32/BINDInstall Revert "Drop bigkey" 2020-11-10 17:34:05 +01:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00