]> git.ipfire.org Git - thirdparty/bind9.git/commit
modify dns_qp_findname_ancestor() to return found name
authorEvan Hunt <each@isc.org>
Thu, 7 Sep 2023 06:57:42 +0000 (23:57 -0700)
committerEvan Hunt <each@isc.org>
Thu, 28 Sep 2023 07:01:13 +0000 (07:01 +0000)
commit29cf7dceb7f01db6da99d2155a0a09fbd8d57e04
tree14bb1a97732e4614ba79a46f84b2c1c853ccdd66
parent06ac957c4f508ff4f87e7f3415e8b6c22ab677c3
modify dns_qp_findname_ancestor() to return found name

add a 'foundname' parameter to dns_qp_findname_ancestor(),
and use it to set the found name in dns_nametree.

this required adding a dns_qpkey_toname() function; that was
done by moving qp_test_keytoname() from the test library to qp.c.
added some more test cases and fixed bugs with the handling of
relative and empty names.
12 files changed:
fuzz/dns_qpkey_name.c
lib/dns/forward.c
lib/dns/include/dns/qp.h
lib/dns/keytable.c
lib/dns/nametree.c
lib/dns/nta.c
lib/dns/qp.c
lib/dns/zt.c
tests/bench/qplookups.c
tests/dns/qp_test.c
tests/include/tests/qp.h
tests/libtest/qp.c