mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-31 17:51:11 +02:00
memset has undefined behavior when either pointer can be NULL, which is the case when it's the result of malloc/calloc with a size of 0. The memset calls here are useless anyway since they come immediately after calloc.