News for hackers. Stuff that matters.
Re:Sshole by jasomill on Monday November 09, 2026 @08:37AM (#50425422)
No. IIRC, you’re just not allowed to use a constant expression evaluating to 0 as a pointer to construct a non-null pointer to address zero.

There’s no requirement that the in-memory representation of a null pointer be all-zeroes, only that 0 in source code represents whatever it is.

Regardless, I agree that it’s a bizarre choice.

There are no comments on this comment yet.