News Score: Score the News, Sort the News, Rewrite the Headlines

Fixing a Buffer Overflow in UNIX v4 Like It's 1973

IntroductionIn 2025, the only known copy of UNIX v4 surfaced on a magnetic tape1. This version marks a pivotal moment in computer history: the rewriting of UNIX into C. Enthusiasts quickly recovered the data and successfully ran the system on a PDP-11 simulator2.Fascinated by this artifact, I set up an instance to explore it. Because the distribution includes the source code, I examined the implementation of several core utilities. While auditing the su(1) program, I identified a bug. Let’s fix ...

Read more at sigma-star.at

© News Score  score the news, sort the news, rewrite the headlines