Chrome: 70% of all security related bugs are memory issues

Adam D. Ruppe destructionator at gmail.com
Mon May 25 01:46:56 UTC 2020


On Monday, 25 May 2020 at 01:35:07 UTC, Walter Bright wrote:
> On 5/23/2020 11:33 AM, Adam D. Ruppe wrote:
>> Garbage collection
>
> It doesn't fix use-after-free. Enter @live functions.

With garbage collection, references have infinite lifetime, so 
use after free is impossible.

D doesn't GC everything though, since it has pointers to stack 
objects and C things, but when you DO use the GC, use-after-free 
is not a worry.


More information about the Digitalmars-d mailing list