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

Steven Schveighoffer schveiguy at yahoo.com
Thu Apr 10 07:13:36 PDT 2014


On Wed, 09 Apr 2014 13:35:43 -0400, David Nadlinger <code at klickverbot.at>  
wrote:

> On Tuesday, 8 April 2014 at 20:50:35 UTC, Steven Schveighoffer wrote:
>> This does not sound correct. In NO case should you be able to remove  
>> bounds checking in @safe code.
>
> It is. In fact, that's the very reason why DMD has -noboundscheck in  
> addition to -release.

I meant correct as in not wrong, not correct as in the current state of  
the compiler :)

Otherwise, @safe is just another meaningless convention. Walter?

-Steve


More information about the Digitalmars-d mailing list