A serious security bug... caused by no bounds checking.

Walter Bright newshound2 at digitalmars.com
Tue Apr 8 02:46:30 PDT 2014


On 4/8/2014 2:12 AM, Martin Krejcirik wrote:
> That brings a question about dmd -release flag. I'd like a flag
> to turn off asserts and contracts, but leave enabled all bounds
> checking. IMHO that is not possible currently ?

-release leaves bounds checking on. Use -noboundscheck to turn off bounds checking.


More information about the Digitalmars-d mailing list