bind9/lib/ns
Aram Sargsyan 3ea2fbc238 Fix RPZ bug when resuming a query during a reconfiguration
After a reconfiguration the old view can be left without a valid
'rpzs' member, because when the RPZ is not changed during the named
reconfiguration 'rpzs' "migrate" from the old view into the new
view, so when a query resumes it can find that 'qctx->view->rpzs'
is NULL which query_resume() currently doesn't expect to happen if
it's recursing and 'qctx->rpz_st' is not NULL.

Fix the issue by adding a NULL-check. In order to not split the log
message to two different log messages depending on whether
'qctx->view->rpzs' is NULL or not, change the message to not log
the RPZ policy's "version" which is just a runtime counter and is
most likely not very useful for the users.
2025-02-21 11:10:15 +00:00
..
include Split and simplify the use of EDE list implementation 2025-01-30 11:52:53 +01:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
client.c Split and simplify the use of EDE list implementation 2025-01-30 11:52:53 +01:00
hooks.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
interfacemgr.c Remove the log message about incomplete IPv6 API 2024-12-04 15:19:12 +00:00
listenlist.c Remove ns_listenlist_default() 2024-11-26 15:22:30 -08:00
Makefile.am remove "sortlist" 2024-12-11 15:09:24 -08:00
notify.c Convert all categories and modules into static lists 2024-08-20 12:50:39 +00:00
probes.d Add a probe when the response rate limiting drops or slips query 2023-08-21 18:39:53 +02:00
query.c Fix RPZ bug when resuming a query during a reconfiguration 2025-02-21 11:10:15 +00:00
server.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c Revert "Attach dnssecsignstats, rcvquerystats, and requeststats" 2024-12-06 19:46:39 +01:00
xfrout.c Revert "Attach dnssecsignstats, rcvquerystats, and requeststats" 2024-12-06 19:46:39 +01:00