D - Unsafe and doomed
Walter Bright
newshound2 at digitalmars.com
Sat Jan 4 10:59:28 PST 2014
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.
More information about the Digitalmars-d
mailing list