> I thought Linus' rant was about NULL checks that came after a dereference had already happened. In that case it at least makes sense that the compiler would assume the NULL check would be superfluous.
IIRC it was an early return from the function rather than an exit function, something like.
IIRC it was an early return from the function rather than an exit function, something like.
And the compiler produced something that unconditionally did the dangerous stuff.