[Bug 38353] DIRT3 crashes after showing racing results screen (ToUnicodeEx should accept NULL pointer as keystate)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 4 15:51:16 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38353

--- Comment #3 from Nikolay Sivov <bunglehead at gmail.com> ---
(In reply to Sebastian Lackner from comment #2)
> According to the information on the internet the keystate should be ignored
> when a NULL pointer is passed.
> 
> Could you please test the following patch?
> https://github.com/wine-compholio/wine-staging/blob/master/patches/winex11-
> ToUnicodeEx/0001-winex11-Allow-NULL-pointer-as-keystate-in-X11DRV_ToU.patch

That's questionable - ToUnicode() keystate argument is indeed annotated as
optional in PSDK, while ToUnicodeEx() is not. Wine always forwards to
ToUnicodeEx(). So yes, only tests will tell the truth.

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