[Issue 18980] Typesafe variadic array functions cause memory corruption
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 14 20:41:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18980
ag0aep6g <ag0aep6g at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ag0aep6g at gmail.com
Resolution|--- |DUPLICATE
--- Comment #1 from ag0aep6g <ag0aep6g at gmail.com> ---
(In reply to Justin from comment #0)
> My guess is that the arguments to these variadic array functions are being
> stack allocated and passing out of scope.
Correct.
This is a duplicate of issue 5212, which has been fixed but only if you compile
with the -dip1000 compiler switch. "Fixed" means the compiler rejects the code.
*** This issue has been marked as a duplicate of issue 5212 ***
--
More information about the Digitalmars-d-bugs
mailing list