]> git.ipfire.org Git - thirdparty/bind9.git/commit
Disassociate added rdataset on error in cache_rrset()
authorOndřej Surý <ondrej@isc.org>
Mon, 18 Aug 2025 15:11:03 +0000 (17:11 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 18 Aug 2025 15:11:03 +0000 (17:11 +0200)
commit7f9647d16e5bbba483134604ac8e51bb97b579dc
tree52af6800095cab337fae1fcf86b9d3764d3696c7
parent6d8c0b2a8d60211e5eb0a3f585a6dab2bb45f622
Disassociate added rdataset on error in cache_rrset()

When first dns_db_addrdataset() succeeds in cache_rrset(), but the
second one fails with error, the added rdataset was kept associated.
This caused assertion failure down the pipe in fctx_sendevents().
lib/dns/resolver.c