mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-09 18:00:58 +03:00
A heap overread might happen when parsing malformed certificates.
Reported by Peng Li and Yueh-Hsun Lin.
Refactoring the parsing fixes the problem. This commit applies the
relevant part of the OpenVPN contribution applied to mbed TLS 1.3
in commit 17da9dd829.
29 KiB
29 KiB