Files
asterisk/main
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
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-04-06 10:23:20 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2024-08-12 15:20:55 +00:00
2024-08-12 15:20:55 +00:00
2024-08-12 15:20:55 +00:00
2022-07-12 06:20:21 -06:00
2020-06-10 09:33:28 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2024-08-12 15:20:55 +00:00
2020-08-18 05:26:24 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-06-10 09:33:28 -05:00
2023-06-05 13:31:57 +00:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2022-05-04 13:30:35 -05:00
2021-11-15 15:28:45 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2018-06-23 08:26:19 +02:00
2021-11-29 08:49:55 -06:00