David Horstmann
f549fc7bdc
Fix null pointer dereference in string to names
...
In mbedtls_x509_string_to_names() we were not checking for allocation
failures. An allocation failure would lead to a memcpy() to a null
pointer address.
Fix this by checking the result of the call to mbedtls_calloc() and
returning MBEDTLS_ERR_X509_ALLOC_FAILED in the error case.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2026-02-26 13:34:01 +00:00
..
2025-09-19 13:36:24 +02:00
2025-10-24 12:50:51 +02:00
2026-01-08 10:32:57 +01:00
2026-01-08 10:32:57 +01:00
2026-01-08 14:57:50 +01:00
2025-11-20 13:01:18 +01:00
2025-09-24 17:20:35 +02:00
2025-12-09 16:15:48 +01:00
2023-11-03 12:24:58 +00:00
2023-11-03 12:24:58 +00:00
2024-10-11 12:21:30 +01:00
2023-11-03 12:24:58 +00:00
2024-10-11 12:21:30 +01:00
2024-10-11 12:21:30 +01:00
2024-12-01 10:05:21 +01:00
2025-10-30 13:37:09 +00:00
2024-10-09 11:18:50 +01:00
2025-12-01 10:24:41 +01:00
2025-10-28 07:58:37 +00:00
2025-10-28 07:58:37 +00:00
2024-10-09 11:18:50 +01:00
2025-03-10 13:24:31 +00:00
2024-10-09 11:18:50 +01:00
2025-12-02 12:35:20 +01:00
2026-01-29 10:30:18 +00:00
2025-03-10 13:46:14 +00:00
2025-12-04 16:28:44 +01:00
2025-12-09 16:18:11 +01:00
2025-05-28 20:23:22 +02:00
2025-12-04 16:28:44 +01:00
2024-10-09 11:18:50 +01:00
2025-06-20 11:48:16 +01:00
2025-06-20 11:48:16 +01:00
2025-09-16 16:12:07 +02:00
2026-01-26 13:22:44 +01:00
2024-12-04 14:25:02 +01:00
2025-08-18 11:39:45 +02:00
2026-02-26 13:34:01 +00:00
2025-08-29 07:05:40 +02:00
2026-02-12 08:11:37 +00:00
2026-01-12 08:19:07 +00:00
2025-12-02 12:35:20 +01:00
2025-08-29 07:05:40 +02:00
2025-12-01 10:24:50 +01:00
2026-01-12 08:19:07 +00:00
2025-12-04 16:28:44 +01:00
2025-12-04 16:28:44 +01:00
2025-12-02 12:06:39 +01:00