News for hackers. Stuff that matters.
Re:Undefined behavior in C is a reading error by foldr on Thursday May 20, 2021 @07:05PM (#27228551)
I’m not totally sure, but I think dereferencing a zero pointer is theoretically not undefined behavior in C, just so long as you didn’t obtain the zero pointer by initializing a pointer with a null pointer constant.

There are no comments on this comment yet.