News for hackers. Stuff that matters.
Re:Null Pointer Dereferencing Causes Undefined Behavior by masklinn on Tuesday April 21, 2015 @08:09AM (#9413448)
> However, an aggressively optimizing compiler migh treat an expression like foo->bar as assert(foo != NULL)

In fact most modern optimising compilers do exactly that, and the article does refer to such a behaviour having had security implications in the past.

There are no comments on this comment yet.