[Issue 14710] VC-built DMD crashes on templated variadic function IFTI

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 18 05:42:16 PDT 2015


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

--- Comment #4 from Vladimir Panteleev <thecybershadow at gmail.com> ---
The PR in question moved the "new" operator overload to its own .c file, which
was added to the makefiles but not the Visual Studio project files. As a
result, Visual Studio builds have been using the normal C++ "new" and "delete"
operators. Adding newdelete.c to the VC project files caused the bug to
disappear.

It is thus very likely that there exists a use-after-free bug in DMD, but it
does not manifest with the "bump-the-pointer" allocator.

--


More information about the Digitalmars-d-bugs mailing list