mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-20 16:21:03 +00:00
Skip all writing to the target buffer if its size is 0, since in this case the pointer might be invalid and this would cause the calls to memcpy and memset to have undefined behavior.