George Joseph
ca60f7db8f
security_agreements.c: Refactor the to_str functions and fix a few other bugs
...
* A static array of security mechanism type names was created.
* ast_sip_str_to_security_mechanism_type() was refactored to do
a lookup in the new array instead of using fixed "if/else if"
statments.
* security_mechanism_to_str() and ast_sip_security_mechanisms_to_str()
were refactored to use ast_str instead of a fixed length buffer
to store the result.
* ast_sip_security_mechanism_type_to_str was removed in favor of
just referencing the new type name array. Despite starting with
"ast_sip_", it was a static function so removing it doesn't affect
ABI.
* Speaking of "ast_sip_", several other static functions that
started with "ast_sip_" were renamed to avoid confusion about
their public availability.
* A few VECTOR free loops were replaced with AST_VECTOR_RESET().
* Fixed a meomry leak in pjsip_configuration.c endpoint_destructor
caused by not calling ast_sip_security_mechanisms_vector_destroy().
* Fixed a memory leak in res_pjsip_outbound_registration.c
add_security_headers() caused by not specifying OBJ_NODATA in
an ao2_callback.
* Fixed a few ao2_callback return code misuses.
Resolves : #845
2024-09-03 14:06:08 +00:00
..
2023-04-03 07:58:23 -05:00
2024-08-12 15:21:33 +00:00
2024-03-20 12:47:55 +00:00
2024-03-21 18:55:20 +00:00
2023-01-31 11:23:11 -06:00
2023-07-12 17:39:11 +00:00
2024-09-03 14:06:08 +00:00
2024-02-28 18:39:01 +00:00
2024-07-24 22:01:29 +00:00
2023-01-10 14:07:44 -06:00
2024-08-06 18:04:43 +00:00
2022-03-23 18:08:17 -05:00
2023-04-03 07:58:23 -05:00
2022-12-08 11:19:07 -06:00
2022-04-26 14:26:48 -05:00
2022-04-26 14:26:48 -05:00
2024-02-12 18:46:29 +00:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2023-08-09 15:10:46 +00:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2024-03-25 14:51:34 +00:00
2024-02-12 18:46:29 +00:00
2020-01-14 09:36:44 -06:00
2024-06-07 16:24:21 +00:00
2019-10-24 09:18:38 -05:00
2019-10-24 09:18:38 -05:00
2024-01-23 18:18:53 +00:00
2023-04-03 08:02:03 -05:00
2021-12-03 10:38:39 -06:00
2024-02-12 18:46:29 +00:00
2022-07-08 09:28:23 -05:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2023-08-14 17:20:05 +00:00
2023-08-14 17:20:05 +00:00
2022-08-01 11:06:37 -05:00
2021-11-15 16:37:34 -06:00
2023-06-12 17:20:31 +00:00
2023-06-12 17:19:28 +00:00
2024-04-01 19:02:06 +00:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-06-10 16:30:28 -05:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2022-07-12 07:52:12 -05:00
2022-07-12 07:52:12 -05:00
2020-11-20 13:51:02 -06:00
2022-12-09 06:55:55 -06:00
2023-03-06 12:16:24 -06:00
2021-11-15 16:37:34 -06:00
2024-02-12 18:46:29 +00:00
2023-06-29 15:15:15 +00:00
2022-07-12 07:46:03 -05:00
2019-04-23 17:40:15 -05:00
2021-12-03 10:38:39 -06:00
2021-02-25 08:45:30 -06:00
2023-12-06 21:19:10 +00:00
2021-11-18 16:59:26 -06:00
2023-02-27 13:00:01 -06:00
2023-12-20 14:02:25 +00:00
2020-02-20 04:52:11 -06:00
2022-12-13 10:52:10 -06:00
2023-10-20 12:18:50 +00:00
2024-02-28 18:39:01 +00:00
2024-07-24 19:21:06 +00:00
2022-09-13 04:51:10 -05:00
2022-09-13 04:51:10 -05:00
2023-01-03 09:00:42 -06:00
2023-10-27 15:52:36 +00:00
2020-04-20 11:03:26 -05:00
2022-09-13 04:51:10 -05:00
2024-05-17 16:34:42 +00:00
2023-10-20 12:18:50 +00:00
2023-10-20 12:39:07 +00:00
2022-09-26 15:04:44 -05:00
2023-12-14 18:48:38 +00:00
2022-03-24 12:00:58 -05:00
2024-08-20 13:35:07 +00:00
2023-08-09 15:10:46 +00:00
2023-10-20 12:39:07 +00:00
2024-01-08 17:26:27 +00:00
2024-08-12 21:20:30 +00:00
2020-04-20 11:03:26 -05:00
2022-10-28 06:45:11 -05:00
2024-09-03 14:06:08 +00:00
2024-07-10 17:02:06 +00:00
2020-12-16 08:01:11 -06:00
2021-11-18 12:14:54 -06:00
2023-09-20 12:29:01 +00:00
2024-03-26 13:29:51 +00:00
2022-03-24 12:00:58 -05:00
2023-06-21 13:25:00 +00:00
2023-05-02 09:18:42 -06:00
2024-09-03 14:03:08 +00:00
2024-03-19 20:20:36 +00:00
2024-02-28 18:39:01 +00:00
2024-04-29 13:02:08 +00:00
2024-01-30 19:06:38 +00:00
2023-09-21 14:47:54 +00:00
2024-01-08 17:26:27 +00:00
2022-01-17 08:25:58 -06:00
2022-07-05 06:34:12 -05:00
2019-05-20 20:33:58 -05:00
2020-01-14 10:07:20 -06:00
2021-03-16 10:30:43 -05:00
2019-11-18 08:30:45 -06:00
2024-07-10 16:50:44 +00:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2023-05-11 14:21:57 -06:00
2023-10-05 14:36:03 +00:00
2024-02-12 18:46:29 +00:00
2023-12-08 13:11:51 +00:00
2021-11-15 16:37:34 -06:00
2023-09-13 17:34:34 +00:00
2023-01-30 08:28:33 -06:00
2024-08-06 18:04:43 +00:00
2021-08-03 08:12:33 -05:00
2024-02-28 18:39:01 +00:00
2020-06-08 10:50:16 -05:00
2021-12-03 10:38:39 -06:00
2023-12-08 13:11:51 +00:00
2022-10-10 12:04:16 -05:00
2021-12-03 10:38:39 -06:00
2022-03-23 18:06:37 -05:00