]> git.ipfire.org Git - thirdparty/bind9.git/commit
Prevent check_stale_header() from leaking rdataset headers
authorMichał Kępień <michal@isc.org>
Fri, 27 Apr 2018 07:13:26 +0000 (09:13 +0200)
committerEvan Hunt <each@isc.org>
Mon, 21 May 2018 16:50:10 +0000 (09:50 -0700)
commit391fac1fc8d2e470287b5cc4344b3adb90c6f54a
treed9aacb2b0b26551de09556888d45ca4729376d45
parente8dd921ef96582c1dbed099015f8e45e00ede439
Prevent check_stale_header() from leaking rdataset headers

check_stale_header() fails to update the pointer to the previous header
while processing rdataset headers eligible for serve-stale, thus
enabling rdataset headers to be leaked (i.e. disassociated from a node
and left on the relevant TTL heap) while iterating through a node.  This
can lead to several different assertion failures.  Add the missing
pointer update.
lib/dns/rbtdb.c