by AstralStorm · 3y ago · 0 comments
Welcome to kernel code. I believe one could make it play DOOM by clever malice in this case.
> When a C or C++ program triggers undefined behavior, anything is allowed to happen in the program execution. And by anything, I really mean anything: The program can crash with an error message, it can silently corrupt data, it can morph into a colorful video game, or it can even give the right result.
-- https://www.nayuki.io/page/undefined-behavior-in-c-and-cplus...