[Issue 18283] -dip1000 doesn't catch invalid local reference
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 23 08:17:40 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18283
anonymous4 <dfj1esp02 at sneakemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from anonymous4 <dfj1esp02 at sneakemail.com> ---
destroy for pointer assigns null to it, it's safe. Dereferencing null pointer
is safe too, because it doesn't lead to memory corruption in protected memory
environment.
--
More information about the Digitalmars-d-bugs
mailing list