Re:Dereferencing NULL Pointer, without a Seg Fault
by DerekL on Tuesday July 10, 2012 @10:34PM
(#4227444)
True, it's not dereferencing NULL at the machine level, but in C++ terms, it really is dereferencing the pointer. Evaluating the expression "p" (or "p->m", which is equivalent to "(p).m") is dereferencing. What it isn't doing is reading or writing at or near location 0.
[ Parent
| on HN ]
There are no comments on this comment yet.