Hacker News new | ask | show | jobs
by eq- 4340 days ago
It depends. It's not like there's no safe way of using strcpy and sprintf.
1 comments

The safe way to use strcpy is to use strncpy
no,strncpy is worse than strcpy,the right way is strlcpy.