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-06-15 08:49:20 +00:00
2023-04-03 10:25:56 +00:00
2023-02-15 09:30:04 +01:00
2023-04-04 16:21:49 +02:00
2023-03-31 15:02:06 +02:00
2023-02-16 18:35:32 +01:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-06-15 08:49:20 +00:00
2023-05-12 20:48:31 +01:00
2023-02-28 11:44:15 +01:00
2023-02-28 11:44:15 +01:00
2023-02-28 11:44:15 +01:00
2023-05-26 00:41:01 -07:00
2023-06-01 16:51:38 +02:00
2023-03-28 15:44:31 -07:00
2023-06-14 09:08:56 +02:00
2023-04-03 10:25:56 +00:00
2023-06-14 08:14:38 +00:00
2023-04-03 12:06:04 +10:00
2023-04-03 12:06:04 +10:00
2023-03-31 12:52:59 +00:00
2023-03-08 08:36:25 +01:00
2023-02-16 17:51:55 +01:00
2023-02-15 16:44:47 +00:00
2023-02-15 09:30:04 +01:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-04-03 12:44:27 +10:00
2023-02-15 16:44:47 +00:00
2023-05-11 17:07:51 +02:00
2023-04-17 10:56:08 +02:00
2023-04-03 17:43:43 +02:00
2023-03-23 12:57:01 -07:00
2023-05-12 20:48:31 +01:00
2023-03-31 13:32:56 +02:00
2023-03-31 13:32:56 +02:00
2023-06-14 08:14:38 +00:00
2023-04-05 14:46:39 +00:00
2023-02-28 11:44:15 +01:00
2023-04-25 05:03:12 +01:00
2023-03-08 08:36:25 +01:00
2023-03-31 13:32:56 +02:00
2023-04-03 12:06:04 +10:00
2023-03-08 08:36:25 +01:00
2023-03-08 08:36:25 +01:00
2023-03-08 13:50:46 +01:00
2023-04-05 08:03:43 +00:00
2023-03-08 13:50:46 +01:00
2023-02-15 16:44:47 +00:00
2023-05-15 20:49:42 +00:00
2023-05-20 07:26:21 +00:00
2023-03-31 12:43:30 +00:00
2023-05-12 20:48:31 +01:00
2023-03-08 08:36:25 +01:00
2023-05-23 08:53:23 +02:00
2023-02-28 11:44:15 +01:00
2023-02-28 11:44:15 +01:00
2023-02-28 11:44:15 +01:00
2023-04-03 15:21:43 +00:00
2023-05-16 02:04:55 +00:00
2023-06-14 19:21:28 +10:00
2023-06-15 15:32:04 +02:00
2023-03-31 13:32:56 +02:00
2023-03-31 15:02:06 +02:00
2023-03-31 12:43:30 +00:00
2023-02-28 11:44:15 +01:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-04-03 12:08:05 +01:00
2023-03-31 13:33:16 +02:00
2023-06-14 08:14:38 +00:00
2023-02-15 09:30:04 +01:00
2023-06-14 08:14:38 +00:00
2023-06-14 08:14:38 +00:00
2023-02-15 16:44:47 +00:00
2023-06-14 09:08:56 +02:00
2023-06-06 19:04:17 +02:00
2023-06-14 19:21:28 +10:00
2023-04-21 12:53:02 +02:00
2023-06-15 08:49:20 +00:00
2023-04-03 10:25:56 +00:00
2023-05-12 20:48:31 +01:00