]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use RUNTIME_CHECK instead of check_result() where it is safe to do so
authorMichał Kępień <michal@isc.org>
Fri, 15 Jun 2018 07:59:20 +0000 (09:59 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 15 Jun 2018 08:16:41 +0000 (10:16 +0200)
commitee06182057073bb3d4831bba00bea1277d01b9ad
tree34bf9c8a56ac2e9673a77a688f46c5838b4f2b32
parentfc6b5ad58550a4e67aee577848e3c165df8a6d0e
Use RUNTIME_CHECK instead of check_result() where it is safe to do so

Replace calls to check_result() with RUNTIME_CHECK assertions for all
dns_rdata_tostruct() calls in lib/dns/zoneverify.c as this function
cannot fail when the "mctx" argument is NULL (and that is the case for
all call sites of this function throughout lib/dns/zoneverify.c).
lib/dns/zoneverify.c