News for hackers. Stuff that matters.
Re:Banned C standard library functions in Git source code by calibas on Sunday August 25, 2019 @10:44AM (#20793266)
I believe they're all vulnerable to overflows and easy to exploit.

https://pointerless.wordpress.com/2012/02/26/strcpy-security...

Re:Banned C standard library functions in Git source code by saagarjha on Sunday August 25, 2019 @11:02AM (#20793362)
> As many already know, strcpy(3) is a very unsafe function call in the C library (you should always use strncpy(3) unless you can be exactly certain about the number of bytes you’re going to copy beforehand).

strncpy pretends to be safe but fails to NULL-terminate and has other performance issues that generally lead me to believe it’s a security placebo. I would recommend using snprintf instead.