Files
bind9/lib/dns
Ondřej Surý b53d1d7069 Refactor how we map isc_result_t <-> dns_rcode_t
The mapping functions between isc_result_t and dns_rcode_t could return
both isc_result_t values not defined in the header and dns_rcode_t
values not defined in the header because it blindly maps anything
withing full 12-bits defined for RCODEs to isc_result_t and back.

Refactor the dns_result_{from,to}rcode() functions to always return
valid isc_result_t and dns_rcode_t values by explicitly mapping the
values to each other and returning DNS_R_SERVFAIL (dns_rcode_servfail)
when encountering value out of the defined range.
2023-06-15 15:32:04 +02:00
..
2023-05-26 00:41:01 -07:00
2023-06-14 08:14:38 +00:00
2023-04-17 10:56:08 +02:00
2023-04-05 14:46:39 +00:00
2023-05-15 20:49:42 +00:00
2023-05-20 07:26:21 +00:00
2023-04-03 15:21:43 +00:00
2023-06-14 19:21:28 +10:00
2023-04-03 12:08:05 +01:00
2023-06-14 08:14:38 +00:00
2023-06-14 08:14:38 +00:00
2023-06-14 08:14:38 +00:00
2023-06-14 19:21:28 +10:00