3 ms·
it's not. Chromes first paid bug was an overflow issue. Like you I had always used it so I wrote code like this if (intA + intB < intA) { // stop be
by greggman3 5y ago
it's not. Chromes first paid bug was an overflow issue. Like you I had always used it so I wrote code like this
if (intA + intB < intA) {
// stop becasue overflow
} else {
// do thing
}
this worked until a new compiler took advantage of the fact that overflow is undefined so the check always failed allowing exploit