ELF object files: executable stack and security risk?

Kagamin spam at here.lot
Tue Jul 26 23:15:46 PDT 2011


Walter Bright Wrote:

> I should clarify that. If you write C style code in D, yes, your code is not 
> verifiably safe and hence your programs could be susceptible to malicious 
> attacks based on buffer overflow exploits.
> 
> But, if you write in D style, using arrays, ranges, and other safe data 
> structures, the risk of your program being vulnerable to such exploits is 
> reduced enormously.

Do you consider code working with arrays and compiled in release mode safe?


More information about the Digitalmars-d mailing list