]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add RUNTIME_CHECK
authorMark Andrews <marka@isc.org>
Wed, 7 Feb 2024 02:34:39 +0000 (13:34 +1100)
committerMark Andrews <marka@isc.org>
Wed, 7 Feb 2024 02:40:03 +0000 (13:40 +1100)
lib/isccfg/check.c

index 05fcddee6c3696cfb3d2cbd7fd48c8c04932df97..90961048b1850c011ecd371324a47d0e208b6702 100644 (file)
@@ -4237,6 +4237,7 @@ keydirexist(const cfg_obj_t *zcfg, const char *optname, dns_name_t *zname,
        symvalue.as_cpointer = zcfg;
        result = isc_symtab_define(symtab, symkey, 2, symvalue,
                                   isc_symexists_reject);
+       RUNTIME_CHECK(result == ISC_R_SUCCESS);
        return (result);
 }