News for hackers. Stuff that matters.
Re:Beware of strncpy and strncat by asveikau on Wednesday June 06, 2018 @12:38PM (#17248613)
> He's assuming that dest is zero-initialized, which I believe it will be as written.

Given this snippet, incorrect. Stack allocated buffers aren't zeroed out as in the above declaration.

Re:Beware of strncpy and strncat by nebulous1 on Wednesday June 06, 2018 @12:42PM (#17248658)
Well, then that's pretty bad!