Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by sgerenser

17 hours ago

Hey, in 2026 strcpy is still part of the C standard library (much to the chagrin of anyone security conscious).

1 comment

sgerenser

Reply

userbinator  16 hours ago

The key point (which I believe static analysers these days can easily check for) is to check the sizes of the source and destination.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities