News for hackers. Stuff that matters.
Re:Android libstagefright still exploitable by acqq on Thursday August 13, 2015 @04:07PM (#10056868)
No, overflow is still properly detected by common CPU instructions. There are flags that are set on overflow after the addition and subtraction and they can be tested.

It's only hard to test the flags in "standard" C (I don't know if it's better with newer standards or those in progress) but the CPUs do their work on the hardware level.

Re:Android libstagefright still exploitable by zurn on Thursday August 13, 2015 @11:28PM (#10058495)
But like ploxiln said you now need a conditional branch to test for the overflow flag after the arithemetic operation, unlike the old overflow traps on x86/MIPS/Alpha etc.
Re:Android libstagefright still exploitable by acqq on Saturday August 15, 2015 @06:24AM (#10064974)
I'm not aware that integer operations ever made traps on x86 and nobody actually uses floats for allocation sizes (in C). And checking the flag would be more than enough IF the languages supported it.

It's the languages that should be changed to be able to simply check the overflow after the critical operations, not the CPUs. The overflow checks are needed only where something can "go wrong" not everywhere.