News for hackers. Stuff that matters.
Re:Integer Overflow Bug in Boeing 787 Dreamliner by Veedrac on Saturday May 02, 2015 @09:22AM (#9476940)
The "doubles its range of positive values" is weak argument because you should never be reaching values more than a few decades, never mind 10-100x the age of the universe. Such a state is a bug.

The "can not hold negative values" argument is also weak because a uint does not prevent generating negative values - it only prevents you from knowing that you've generated negative values. Such a state is a bug.

Using a uint only serves to make it harder to test when your system is in an invalid state.

There are no comments on this comment yet.