]> git.ipfire.org Git - thirdparty/bind9.git/commit
copy ns_hook objects before adding them to a hook table
authorEvan Hunt <each@isc.org>
Thu, 20 Sep 2018 06:38:23 +0000 (23:38 -0700)
committerEvan Hunt <each@isc.org>
Thu, 6 Dec 2018 18:29:12 +0000 (10:29 -0800)
commit0b988256c79e754cf3130cf78efb52aafdaa1878
treeeac7b5646f12394c97c48565c34759b970046847
parent74683fbc3b82d815f110ee25b0eba2165852fd4b
copy ns_hook objects before adding them to a hook table

- this is necessary because adding the same hook to multiple views
  causes the ISC_LIST link value to become inconsistent; it isn't
  noticeable when only one hook action is ever registered at a
  given hook point, but it will break things when there are two.
bin/hooks/filter-aaaa.c
lib/ns/hooks.c
lib/ns/include/ns/hooks.h
lib/ns/query.c
lib/ns/tests/nstest.c
lib/ns/tests/query_test.c