[Bug 26754] Regedit crashes on start when compiled with clang from trunk

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 1 16:50:23 CDT 2011


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

--- Comment #8 from Austin English <austinenglish at gmail.com> 2011-05-01 16:50:22 CDT ---
(In reply to comment #7)
> Does it really fail on ZeroMemory or it just corrupts stack?
> 
> ZeroMemory() should be dropped here anyway, cause we already explicitly
> initialize 11 fields, and only 6 are left to be zeroed with ZeroMemory().

Well, initially tried valgrinding it, which crashes valgrind terribly
(apparently it doesn't like recent clang either). I filed
https://bugs.kde.org/show_bug.cgi?id=272189 for that.

Removing the ZeroMemory() call and initialized manually avoids the crash, I'll
attach the patch I used.

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