June 14, 2018 [Issue 18980] Typesafe variadic array functions cause memory corruption | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18980 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ag0aep6g@gmail.com Resolution|--- |DUPLICATE --- Comment #1 from ag0aep6g <ag0aep6g@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 *** -- |
Copyright © 1999-2021 by the D Language Foundation