[Issue 8658] Passing large structs to function b value causes stack corruption
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 14 09:19:25 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8658
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxim at maxim-fomin.ru
--- Comment #1 from Maxim Fomin <maxim at maxim-fomin.ru> 2012-09-14 09:19:36 PDT ---
(In reply to comment #0)
> If the arguments passed to a function exceed 64kB the stack gets corrupted.
> Compiling and running this code without optimizations leads to a crash:
>
<snip>
Couple of comments: 1) This program doesn't crash in x64 linux 2) what exactly
is requested: you allocate data on stack which certainly big enough to corrupt
it, so?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list