Your error is using allocating the object with malloc. Since gc
doesn't see your AA, the AA is freed and you get UAF.
- Re: AA vs __gshared Jonathan M Davis via Digitalmars-d-learn
- Re: AA vs __gshared IchorDev via Digitalmars-d-learn
- Re: AA vs __gshared Kagamin via Digitalmars-d-learn
- Re: AA vs __gshared IchorDev via Digitalmars-d-learn
- Re: AA vs __gshared IchorDev via Digitalmars-d-learn
- Re: AA vs __gshared Steven Schveighoffer via Digitalmars-d-learn
- Re: AA vs __gshared IchorDev via Digitalmars-d-learn
- Re: AA vs __gsha... Steven Schveighoffer via Digitalmars-d-learn
- Re: AA vs __... Steven Schveighoffer via Digitalmars-d-learn
- Re: AA ... IchorDev via Digitalmars-d-learn
- Re: AA vs __gshared Kagamin via Digitalmars-d-learn