On 1/4/2014 9:40 AM, H. S. Teoh wrote:
Keep in mind, though, that for sufficiently large objects, null pointers may not segfault (e.g., when you dereference a field at the end of the object, which, when large enough, will have a sufficiently large address to not cause a segfault when the base pointer is null -- you *will* end up with memory corruption in that case).
Yes, that was already mentioned.