A friend of mine mid 90s was doing a clean room rewrite of doom (for fun, just to learn) and didn’t have any bounds checking on his maze - so it was possible to wander off into program memory and shoot variables. (Classic Mac OS, no memory protection)