http://d.puremagic.com/issues/show_bug.cgi?id=5176
--- Comment #23 from Andrei Alexandrescu <and...@erdani.com> 2013-01-10 09:12:28 PST --- Oh there's also a confusion. The problem is not with the stack, it's with accessing fields through null pointers. Getting back to the original example: struct S { char raw[100_000]; } void main() { S * s = null; char a = raw[$ - 1]; } That will issue an access through a pointer with a small value (100_000). The question is what is the maximum small pointer that will cause a protection fault on all OSs. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------