3 ms·
Signed overflow is undefined behavior in C.
by SAI_Peregrinus 7y ago
Signed overflow is undefined behavior in C.
- saagarjha 7y agoIt is, but in this case the compiler will assume it never occurs and generate assembly that will function as the parent describes. Which, from a security perspective, is what matters in this case.