|
|
|
|
|
by kjhgfghjm
5570 days ago
|
|
Adobe had a bug which worked because of a Bug in memcpy(), the bug was fixed and Adobe's code broke. win95 had a similar one with the game Civilisation, they actually put code into win95 to detect the game and change the way the OS worked - doesn't sound like a good solution |
|
> I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it [...] the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.
(from http://www.joelonsoftware.com/articles/APIWar.html )