News for hackers. Stuff that matters.
Re:Massacring C Pointers by kevin_thibedeau on Tuesday June 26, 2018 @01:37PM (#17402567)
Friends don't let friends use strncpy(). It doesn't guarantee NUL termination and wastes time zero-padding when it is rarely desired. Use C11 strncpy_s() or platform specific equivalents.
Re:Massacring C Pointers by int0x80 on Tuesday June 26, 2018 @02:26PM (#17402922)
Agree.