News for hackers. Stuff that matters.
Re:Cap'n'Proto remote vuln: pointer overflow check optimized... by lmm on Friday April 21, 2017 @09:56AM (#14165630)
What the compiler does in the face of undefined behaviour is out of scope for the standard, by definition.

The problem is that the standard was written as a minimum that programmers could rely on even the worst compilers to implement, with the intention that compiler writers would come up with improvements that would then be standardised (the same way that happens with e.g. web standards). Instead compilers regressed to doing the minimum permitted by the standard.

There are no comments on this comment yet.