]> git.ipfire.org Git - thirdparty/bind9.git/commit
attach query counter to NS fetches
authorEvan Hunt <each@isc.org>
Wed, 22 May 2024 20:02:16 +0000 (13:02 -0700)
committerEvan Hunt <each@isc.org>
Wed, 7 Aug 2024 21:12:34 +0000 (21:12 +0000)
commit3fd795d84dba44d1cd008e8ec3e40029c6de32e0
tree6384fd64dc6ce6dd861389d2e52a82e8c750e3bb
parent3de13146e82d836c22d5e07b88dad5c21a746d85
attach query counter to NS fetches

there were cases in resolver.c when queries for NS records were
started without passing a pointer to the parent fetch's query counter;
as a result, the max-recursion-queries quota for those queries started
counting from zero, instead of sharing the limit for the parent fetch,
making the quota ineffective in some cases.

(cherry picked from commit d3b7e92783754e9a4ce93046fadcb96c5439a0d7)
lib/dns/resolver.c