[Issue 16266] @safe functions may dereference non-dereferenceable pointers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 11 19:40:11 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16266

--- Comment #1 from Andrei Alexandrescu <andrei at erdani.com> ---
> 2. Insert a runtime check whenever array.ptr is passed into a @safe function
> (array must be non-empty). 

It seems the array may be null.

--


More information about the Digitalmars-d-bugs mailing list