]> git.ipfire.org Git - thirdparty/bind9.git/commit
pass the nodename to add32() instead of calling dns_rbt_fullnamefromnode()
authorEvan Hunt <each@isc.org>
Tue, 19 May 2020 01:09:08 +0000 (18:09 -0700)
committerEvan Hunt <each@isc.org>
Fri, 29 May 2020 22:02:09 +0000 (15:02 -0700)
commit8b154d0f9fd7b902f79c7ed3d4c8f047ec7c1bae
treeb5245dce9418f272081c9514c2cc69851fb014ed
parent8cd193f18d896b1151c6cbeda575daa44250d07a
pass the nodename to add32() instead of calling dns_rbt_fullnamefromnode()

in addition to being more efficient, this prevents a possible crash by
looking up the node name before the tree sructure can be changed when
cleaning up dead nodes in addrdataset().

(cherry picked from commit db9d10e3c1761d39600defb031934068d74ccd1b)
lib/dns/rbtdb.c