http://bugs.winehq.org/show_bug.cgi?id=26754
--- Comment #8 from Austin English austinenglish@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.