bind9/lib/ns
Aram Sargsyan b91b7093f2 Fix error path bugs in the "recursing-clients" list management
In two places, after linking the client to the manager's
"recursing-clients" list using the check_recursionquota()
function, the query.c module fails to unlink it on error
paths. Fix the bugs by unlinking the client from the list.

Also make sure that unlinking happens before detaching the
client's handle, as it is the logically correct order, e.g.
in case if it's the last handle and ns__client_reset_cb()
can be called because of the detachment.

(cherry picked from commit 36c4808903)
2024-11-26 12:40:04 +00:00
..
include make "max_restarts" a configurable value 2024-08-07 15:36:15 -07:00
client.c Remove redundant semicolons after the closing braces of functions 2024-11-19 16:06:49 +01:00
hooks.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
interfacemgr.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
listenlist.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Fix error path bugs in the "recursing-clients" list management 2024-11-26 12:40:04 +00:00
server.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
sortlist.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
update.c Re-split format strings 2024-11-21 04:22:15 +00:00
xfrout.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00