Merge pull request #1487 from davidhorstmann-arm/fix-null-pointer-dereference

Fix null pointer dereference in `mbedtls_x509_string_to_names()`
This commit is contained in:
Manuel Pégourié-Gonnard
2026-03-09 12:43:08 +01:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
@@ -0,0 +1,4 @@
Security
* Fix a NULL pointer dereference in mbedtls_x509_string_to_names() when
mbedtls_calloc() fails to allocate memory. This was caused by failing to
check whether mbedtls_calloc() returned NULL.