http://d.puremagic.com/issues/show_bug.cgi?id=5176
--- Comment #26 from Walter Bright <bugzi...@digitalmars.com> 2013-01-10 12:03:50 PST --- (In reply to comment #22) > How large are the guard pages on each OS? Usually 4k. But the function prologs, when creating a stack frame larger than 4k, will do "probes" for each 4k page. So, no, you can't corrupt memory with an overflow. > We should either restrict object size to a reasonable maximum, or insert > runtime checks at least in @safe mode when accessing fields through pointers > that may be null. There's a separate set of guard pages at address 0, to cause a seg fault if 1, 2, 3, etc. is accessed. I don't know how big they are. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------