mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-14 00:40:50 +00:00
4b00f08e20
Our Windows implementation based on vsnprintf_s( ..., _TRUNCATE ) sometimes writes *two* terminating NULLs. Allow for that, but obviously bytes past the end of the buffer mustn't be touched.