Files
asterisk/main
George Joseph d2d0c507ff 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:25 +00:00
..
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2023-01-03 09:00:42 -06:00
2021-12-02 15:02:09 -06:00
2023-12-08 13:11:54 +00:00
2020-05-05 10:06:43 -05:00
2023-12-08 13:11:54 +00:00
2024-06-14 17:25:10 +00:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2024-08-12 15:21:35 +00:00
2024-08-12 15:21:35 +00:00
2024-08-12 15:21:35 +00:00
2021-12-02 15:02:09 -06:00
2022-07-07 08:19:14 -05:00
2024-02-28 18:39:03 +00:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2024-08-12 15:21:35 +00:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2017-12-20 12:40:01 -05:00
2023-10-05 14:38:05 +00:00
2024-01-17 15:01:07 +00:00
2023-04-03 07:58:23 -05:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2024-08-08 14:18:25 +00:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-03-24 12:00:58 -05:00
2023-01-03 09:00:42 -06:00
2021-12-02 15:02:09 -06:00