bug in snake
utzoo!decvax!duke!chico!harpo!cbosg!cbosgd!mark
utzoo!decvax!duke!chico!harpo!cbosg!cbosgd!mark
Fri Feb 19 10:46:31 AEST 1982
For a good time, try going into snake and doing
!date<cr>
after the command exits, finish out the game, and after it exits,
poof! you're back in snake again.
The fix is easy. Search /usr/src/games/snake/snake.c for "fork".
About 3 lines later, right after the call to system, insert
exit(0);
A less then honorable person could exploit this bug to make higher
scores in the game.
Mark
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list