]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not call exit() upon verifynode() errors
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:35:55 +0000 (10:35 +0200)
commitd782fcc63822dfe75ccbad00200de2e39a9cb928
tree005ed0158dd5f4244937558ac97283b3116f7c83
parent7a996f0c0de9fd3f2ba2ad0983a0773cc2a5764b
Do not call exit() upon verifynode() errors

Make verifynode() return the verification result through a separate
pointer, thus making it possible to signal errors using function
return value.  Replace all fatal() and check_result() calls inside
verifynode() with zoneverify_log_error() calls and error handling code.
Add a REQUIRE assertion to emphasize verifynode() may be called with
some of its arguments set to NULL.

Modify all call sites of verifynode() so that its errors are properly
handled.
lib/dns/zoneverify.c