Re:Integer overflow in glibc strncat
by klodolph on Tuesday December 22, 2015 @03:30PM
(#10780201)
No one? I thought Microsoft implemented it, or at least an early version thereof.
[ Parent
| on HN ]
A very early version. Among other differences the functions don't care about RSIZE_MAX (even though newer VS versions define and use rsize_t). However the Windows SDK contains <strsafe.h> which does limit the length of strings (STRSAFE_MAX_CCH).
https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...