Signed overflow optimization hazards in the kernel
Signed overflow optimization hazards in the kernel
Posted Aug 23, 2012 9:47 UTC (Thu) by reddit (guest, #86331)Parent article: Signed overflow optimization hazards in the kernel
The sensible way to do this is (int)(a - b) < 0 where a and b are unsigned.
