[Issue 1071] DoS code on Windows Platform

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 19 21:41:08 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1071


vietor at zettabytestorage.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vietor at zettabytestorage.com




------- Comment #2 from vietor at zettabytestorage.com  2007-07-19 23:41 -------
Requiring a flag to act normally is counter intuitive. 

Having a default memory limit for the compiler would result in unexpected
failure during normal and valid operation. Causing the compiler to run out of
memory is, by no stretch of the imagination, an uncommon case. Thus if anything
should require passing an additional argument to the compiler, imposing a limit
should, not removing one.

If the user is worried about creating a situation where infinite allocation
could occur, and running on an OS that will not handle it in at least a
semi-graceful manner, then it should be their responsibility to remember to
limit memory usage.   


-- 



More information about the Digitalmars-d-bugs mailing list