Ondřej Surý
a29de517fa
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.
(cherry picked from commit b53d1d7069 )
2023-06-15 16:27:17 +02:00
..
2023-05-31 11:07:08 +00:00
2022-11-29 09:14:07 +01:00
2023-01-30 12:38:13 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2023-06-14 09:24:41 +00:00
2022-12-07 23:59:36 +00:00
2023-02-08 00:13:12 -08:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2023-05-26 02:07:02 -07:00
2023-02-01 11:26:31 +01:00
2023-03-14 16:26:56 +11:00
2023-04-05 09:11:24 +02:00
2023-03-31 16:47:15 +02:00
2023-03-31 16:47:15 +02:00
2023-02-09 10:07:39 -08:00
2022-11-29 09:14:07 +01:00
2023-01-11 13:42:09 +00:00
2022-11-29 09:14:07 +01:00
2023-02-18 10:26:55 +11:00
2023-01-09 14:23:26 -08:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2023-04-17 12:14:06 +02:00
2023-04-03 17:46:13 +02:00
2023-03-29 13:31:49 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-04-25 06:46:08 +01:00
2022-12-07 23:59:36 +00:00
2023-01-18 22:39:26 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-20 00:46:24 +11:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-02-09 08:58:15 +11:00
2022-11-29 09:14:07 +01:00
2023-04-03 16:18:39 +00:00
2023-06-06 12:45:00 +00:00
2023-06-15 16:27:17 +02:00
2022-12-07 23:59:36 +00:00
2023-02-14 11:21:40 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-05-25 15:08:48 -07:00
2022-12-07 23:59:36 +00:00
2023-04-03 17:46:13 +02:00
2023-04-03 17:46:13 +02:00
2023-04-21 17:21:32 +02:00
2023-05-26 15:24:51 +03:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00