List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Thu Feb 6 18:44:35 PST 2014


On 2/6/2014 2:15 PM, Brad Anderson wrote:
> Personally I don't think bad user input qualifies as an exceptional case because
> it's expected to happen and the program is expected to handle it (and let the
> user know) when it does. That's just a matter of taste though.

It's not a matter of taste. If your input is subject to a DoS attack, don't put 
exceptions in the control flow.


More information about the Digitalmars-d mailing list