[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:28:14 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8658


Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|All                         |x86
         OS/Version|All                         |Windows


--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 2012-09-14 09:28:26 PDT ---
Sorry, I didn't specify the platform: Windows 32-bit. I don't know if it
happens elsewhere. 
What happens in the example is that each call pushes 16385 words onto the
stack, but only 1 gets popped. 
For x64, the code might be different and the stack might be larger.

-- 
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