News for hackers. Stuff that matters.
Re:Just fixed a 20-year-old bug… by mikeash on Sunday August 28, 2011 @09:44PM (#2935562)
64-bit architectures were around 20 years ago. It was pure luck (whether good or bad I'll leave up to the reader) that it didn't get exercised enough to show up until now. The code invoked undefined behavior which just happened to work on the architecture it was targeting at the time. That's still a bug, even if the result works as expected, precisely because it could stop working as expected later.
Re:Just fixed a 20-year-old bug… by Retric on Sunday August 28, 2011 @10:29PM (#2935634)
20 years ago computers where a lot slower so some tradeoffs into "undefined behavior that happens to work quickly" was fairly common practice. Personally I prefer to call such things landmines vs bugs because they where often left there deliberately.