mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-30 09:42:32 +08:00

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.