manual memory management

Walter Bright newshound2 at digitalmars.com
Wed Jan 9 16:18:17 PST 2013


On 1/9/2013 2:30 PM, Adam D. Ruppe wrote:
> On Wednesday, 9 January 2013 at 21:13:35 UTC, H. S. Teoh wrote:
>> Dereferencing null is also moot, because you'll just get an exception or a
>> segfault, which is no help for a potential expoit.
>
> BTW, not necessarily... this is a fairly unlikely situation, granted, but imagine:

And that is not dereferencing null, it is dereferencing 0x1000000.


More information about the Digitalmars-d mailing list