News for hackers. Stuff that matters.
Re:Undefined Behavior in 2017 by scatters on Wednesday July 05, 2017 @04:29AM (#14700757)
How would that help? The behavior would be defined, but it still wouldn't be what you /want/.
Re:Undefined Behavior in 2017 by Peaker on Wednesday July 05, 2017 @04:42AM (#14700798)
Defined good behavior > defined bad behavior > undefined behavior.

This article is about attacking the last category.

Unsigned overflow is far less of a problem than signed overflow because it is defined.

It is very cheap to make signed overflow defined. It is more expensive to detect it and fail at runtime.