bind9/lib
Aram Sargsyan 643abfbba7 Synchronize dns_request_createraw() and dns_request_create() UDP timeout
The dns_request_createraw() function, unlike dns_request_create(), when
calculating the UDP timeout value, doesn't check that 'udpretries' is
not zero, and that is the more logical behavior, because the calculation
formula uses division to 'udpretries + 1', where '1' is the first try.

Change the dns_request_create() function to remove the 'udpretries != 0'
condition.

Add a 'REQUIRE(udpretries != UINT_MAX)' check to protect from a division
by zero.

Make the 'request->udpcount' field to represent the number of tries,
instead of the number of retries.
2023-04-03 15:21:43 +00:00
..
dns Synchronize dns_request_createraw() and dns_request_create() UDP timeout 2023-04-03 15:21:43 +00:00
isc Silence NULL pointer dereferene false positive 2023-04-03 13:32:40 +00:00
isccc Replace DE_CONST(k, v) with v = UNCONST(k) macro 2023-04-03 10:25:56 +00:00
isccfg Add new 'checkds' configuration option 2023-04-03 14:01:22 +00:00
ns Use isc_histo for the message size statistics 2023-04-03 12:08:05 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00