www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22450] New: ASAN reports heap-use-after-free on root/array.d

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

          Issue ID: 22450
           Summary: ASAN reports heap-use-after-free on root/array.d
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: contact lsferreira.net

Running the test fail_compilation/fob2.d with an address sanitizer reports
heap-use-after-free on src/dmd/root/array.d:120:9 in
Array<VarDeclaration*>::push(VarDeclaration*)

--
Oct 29 2021