]> git.ipfire.org Git - thirdparty/bind9.git/commit
Call dns_db_updatenotify_unregister earlier
authorMark Andrews <marka@isc.org>
Wed, 30 Nov 2022 07:44:37 +0000 (18:44 +1100)
committerMark Andrews <marka@isc.org>
Tue, 6 Dec 2022 22:04:08 +0000 (09:04 +1100)
commit35839e91d84f4c22f3554ff4b6dc53d20359621e
treebaf43740eab4076a1af43d93ab56767e683745c3
parentf13e71e55167bf9c94f4faf1dab110467158e7b4
Call dns_db_updatenotify_unregister earlier

dns_db_updatenotify_unregister needed to be called earlier to ensure
that listener->onupdate_arg always points to a valid object.  The
existing lazy cleanup in rbtdb_free did not ensure that.
lib/dns/include/dns/zone.h
lib/dns/rbtdb.c
lib/dns/zone.c