[Bug 33307] heap corruption with gcc 4.8.0

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 22 22:22:16 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33307

--- Comment #25 from Kirill K. Smirnov <lich at math.spbu.ru> 2013-04-22 22:22:16 CDT ---
This code works too:
964:        memcpy_unaligned( buffer, DIR_Windows, len * sizeof(WCHAR) );
965:        memcpy( buffer + len, default_syswow64W, sizeof(default_syswow64W)
);
966:        DIR_SysWow64 = buffer;


It seems gcc incorrectly optimizes bulk of memcpy() function calls one after
another, not just single memcpy().

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list