Chris Wellons personal blog
strcpy: A niche function you don't need
The C strcpy function is a common sight in typical C programs. It’s also a source of buffer overflow defects, so linters and code reviewers commonly recommend alternatives such as strncpy (difficult to use correctly; mismatched semantics), strlcpy (non-standard, flawed ), or C11’s optional strcpy_s ( no correct or…
- Points
- 150
- HN comments
- 150
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2021
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 30, 2021 | strcpy: A niche function you don't need by grep_it | 150 | 150 |