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.
[ Parent
| on HN ]
There are no comments on this comment yet.