mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-07 22:27:01 -04: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.