News for hackers. Stuff that matters.
Re:Beware of strncpy and strncat by docker_up on Wednesday June 06, 2018 @12:46PM (#17248701)
No, only global variables are zero-initialized. Neither stack variables nor malloced memory will be zero-initialized. OP should have memset to 0 or calloced the memory.

There are no comments on this comment yet.