Hacker Exploits Bugs In Original ‘Doom’ Code to Run ‘Snake’ Inside the Game

For years, people have found ways to play the classic 1990s game Doom on anything from McDonald's cash registers, to billboard trucks, and even iPhone hacking devices.


This is a companion discussion topic for the original entry at https://www.vice.com/en_us/article/v7m54j/hacker-exploits-bugs-in-original-doom-code-to-run-snake-inside-the-game

I’m surprised Lorenzo didn’t mention that there was also a Doom CVE issued last year with a 9.8 critical which is about as high as you can get and normally means drop everything and patch now lol.

It’s actually a really simple classic bug involving fscanf and would make for a great lesson on the importance of making sure you put in a max value check especially when it comes to dealing with user input. Would be a fun one to mention and demo in any intro to CS class.