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

Comment by saagarjha

2 months ago

  char buffer[100];
  printf("Type something: ");
  scanf("%s", buffer);

Come on, it’s 2025, there’s no need to write trivial buffer overflows anymore.

2 comments

saagarjha

Reply

anyfoo  2 months ago

It’s a feature to rewrite your OS kernel on the fly.

dbuder  2 months ago

It's 1990, maybe 1999, in embedded land.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities