Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #266455

Category None
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Wed 06 May 2026 23:59:22
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch bagder/mbedtls-pkey-blob
Revision 2426a4f02a2301709607ae59ef362d0cd9a69d47

Comments

mbedtls: null terminate the private key blob

Unfortunately, mbedtls_pk_parse_key() requires the data to be
null-terminated if the data is PEM encoded (even when provided the exact
length), so this function needs to make a copy that has one.

Reported-by: Elise Vance

Changed files