|
|
|
|
|
by pjmlp
3204 days ago
|
|
I don't have any idea how _FORTIFY_SOURCE works, other than it is GCC specific and as such no place in ANSI C. What I know is that having something like strcpy_s() does not provide any actual safety, because with the prototype "strcpy_s(char * restrict s1, rsize_t s1max, const char * restrict s2)" there is no guarantee that s1max is a valid size for s1. |
|