Typical security issues in C++: why the GC isn't your enemy

Walter Bright newshound2 at digitalmars.com
Thu Dec 8 20:48:09 UTC 2022


On 12/6/2022 10:24 AM, Iain Buclaw wrote:
> I wouldn't see lack of default initialization as a source of bugs, rather an 
> attack vector.  It isn't a concern that there are uninitialized data pointing to 
> garbage causing your program to do something wild/unexpected.  The concern is 
> when it might point to useful information.

Default initializing it to null doesn't present an attack vector.


More information about the Digitalmars-d mailing list