George Joseph
35e4fa7709
res_resolver_unbound: Test for NULL ub_result in unbound_resolver_callback
...
The ub_result pointer passed to unbound_resolver_callback by
libunbound can be NULL if the query was for something malformed
like `.1` or `[.1]`. If it is, we now set a 'ns_r_formerr' result
and return instead of crashing with a SEGV. This causes pjproject
to simply cancel the transaction with a "No answer record in the DNS
response" error. The existing "off nominal" unit test was also
updated to check this condition.
Although not necessary for this fix, we also made
ast_dns_resolver_completed() tolerant of a NULL result.
Resolves: GHSA-v428-g3cw-7hv9
2024-09-05 16:32:28 +00:00
..
2022-01-17 12:17:44 -07:00
2024-08-12 15:20:55 +00:00
2023-07-12 17:39:07 +00:00
2024-08-12 15:20:55 +00:00
2020-10-13 11:14:04 -05:00
2022-04-14 17:15:00 -05:00
2022-01-17 12:17:44 -07:00
2017-10-18 03:34:56 -05:00
2015-04-14 12:53:03 -04:00
2022-07-12 06:20:21 -06:00
2022-01-17 12:17:44 -07:00
2022-01-17 12:17:44 -07:00
2022-11-16 06:45:40 -05:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2021-11-18 16:02:22 -06:00
2013-07-27 23:11:02 +00:00
2021-11-18 16:02:22 -06:00
2022-01-17 12:17:44 -07:00
2022-01-17 12:17:44 -07:00
2010-04-02 18:57:58 +00:00
2017-02-10 18:04:41 -05:00
2021-11-15 15:41:51 -06:00
2022-01-17 12:17:44 -07:00
2017-12-22 09:23:22 -05:00
2024-02-26 16:20:30 -07:00
2018-01-24 13:37:29 -05:00
2018-01-15 13:25:51 -05:00
2024-04-01 20:19:00 +00:00
2021-03-10 04:22:18 -06:00
2021-03-10 04:22:18 -06:00
2021-03-10 04:22:18 -06:00
2021-03-10 04:22:18 -06:00
2022-07-12 06:20:21 -06:00
2022-01-17 12:17:44 -07:00
2016-06-08 12:32:02 -05:00
2021-09-21 13:11:18 -05:00
2021-11-15 15:41:51 -06:00
2024-05-03 05:42:26 -03:00
2017-12-22 09:23:22 -05:00
2022-01-17 12:17:44 -07:00
2019-04-23 17:40:15 -05:00
2019-04-23 17:40:15 -05:00
2016-02-16 16:42:26 -06:00
2022-01-17 12:17:44 -07:00
2023-12-20 14:02:29 +00:00
2018-09-06 13:30:12 -05:00
2020-02-20 04:52:11 -06:00
2021-11-18 12:46:12 -06:00
2021-11-18 12:46:12 -06:00
2021-05-19 08:10:25 -05:00
2021-06-08 15:46:08 -05:00
2020-04-20 11:03:26 -05:00
2018-02-02 18:03:06 -06:00
2022-09-26 13:18:35 -05:00
2020-06-05 09:15:34 -05:00
2021-11-18 12:46:12 -06:00
2019-10-10 15:30:24 -05:00
2021-11-15 15:41:51 -06:00
2020-04-20 11:03:26 -05:00
2021-11-18 12:46:12 -06:00
2018-11-21 09:56:16 -05:00
2021-11-18 12:46:12 -06:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2021-11-18 12:46:12 -06:00
2022-12-01 11:10:27 -06:00
2021-11-18 12:46:12 -06:00
2018-01-24 13:37:29 -05:00
2020-04-06 08:02:53 -05:00
2022-12-23 05:32:04 -07:00
2018-01-24 13:37:29 -05:00
2023-11-07 10:42:12 -07:00
2022-07-12 06:20:21 -06:00
2020-01-14 10:07:20 -06:00
2021-03-16 10:31:16 -05:00
2024-02-26 16:20:30 -07:00
2016-05-27 11:00:09 -05:00
2018-11-18 15:08:16 -05:00
2022-01-17 12:17:44 -07:00
2010-04-02 18:57:58 +00:00
2022-01-17 12:17:44 -07:00
2020-06-18 18:32:23 -05:00
2018-08-17 16:33:24 -05:00
2013-09-16 18:00:32 +00:00
2021-11-18 09:20:10 -06:00
2018-01-15 13:25:51 -05:00
2013-05-20 14:21:39 +00:00
2018-11-21 09:56:16 -05:00
2018-01-24 13:37:29 -05:00
2021-11-15 15:41:51 -06:00
2019-03-11 23:57:01 +01:00
2013-07-03 17:58:45 +00:00
2022-10-10 09:57:17 -05:00
2024-08-06 18:04:48 +00:00
2022-04-14 17:15:00 -05:00
2017-04-14 16:55:03 -05:00
2015-07-02 05:13:37 -05:00
2022-05-04 13:30:35 -05:00