]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix handling of TAT sending failures
authorMichał Kępień <michal@isc.org>
Thu, 19 Jul 2018 15:43:58 +0000 (17:43 +0200)
committerMark Andrews <marka@isc.org>
Thu, 19 Jul 2018 15:55:50 +0000 (01:55 +1000)
commit8666f8d28f58db5ea37cd5848b7c3c0ea5d07bd9
treedf6361431b16be5dccc645852b1bbb28095fe1cc
parent2975f37f1cd393669f6fd4d737f3e583615bbc0e
Fix handling of TAT sending failures

dns_view_zonecut() may associate the dns_rdataset_t structure passed to
it even if it returns a result different then ISC_R_SUCCESS.  Not
handling this properly may cause a reference leak.  Fix by ensuring
'nameservers' is cleaned up in all relevant failure modes.
bin/named/server.c
bin/tests/system/mirror/ns1/sign.sh