]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix dns_qp_insert() checks in qpzone
authorEvan Hunt <each@isc.org>
Wed, 12 Feb 2025 00:08:29 +0000 (16:08 -0800)
committerEvan Hunt <each@isc.org>
Mon, 17 Feb 2025 20:21:50 +0000 (12:21 -0800)
commitfffa150df3ffb4c6e31a8e33463f709cd70ede7b
tree660037e9eeb159c52019ca5184a4bb2f958e9f94
parent766805a3746d88e5724f917662f39cb3dfc3098f
fix dns_qp_insert() checks in qpzone

in some places there were checks for failures of dns_qp_insert()
after dns_qp_getname(). such failures could only happen if another
thread inserted a node between the two calls, and that can't happen
because the calls are serialized with dns_qpmulti_write(). we can
simplify the code and just add an INSIST.
lib/dns/qpzone.c