www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16512] New: Nullify the argument passed to allocator.dispose

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

          Issue ID: 16512
           Summary: Nullify the argument passed to allocator.dispose
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: yshuiv7 gmail.com

A good measure to prevent use-after-free.

--
Sep 19 2016