[Issue 5176] Limit static object sizes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 10 10:14:59 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5176
--- Comment #24 from Jacob Carlborg <doob at me.com> 2013-01-10 10:14:47 PST ---
(In reply to comment #22)
> How large are the guard pages on each OS?
>
> 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.
Perhaps doing something similar as with array bounds checking. Insert a check
and provide a compiler flag to remove it. Or remove the check in -release
builds.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list