mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 18:58:42 +00:00
The corner cases fixed include:
* Allocating a buffer of size 0. With this change, the allocator now
returns a NULL pointer in this case. Note that changes in pem.c and
x509_crl.c were required to fix tests that did not work under this
assumption.
* Initialising the allocator with less memory than required for headers.
* Fix header chain checks for uninitialised allocator.
119 KiB
119 KiB