[Bug 28423] ImmGetDescriptionW() from imm32 crashes with certain parameters

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 19 12:10:53 CDT 2011


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

Bruno Jesus <00cpxxx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |00cpxxx at gmail.com

--- Comment #8 from Bruno Jesus <00cpxxx at gmail.com> 2011-09-19 12:10:53 CDT ---
Can you provide the source code for the original .exe you posted? Your example
code does not work for me, even fixing the ptr. Return value is always zero.
Tested in Visual C++ 6.

Does the game work with the patch I attached previously?

lpszDescription may be null and in such cases it's not filled. If uBufLen is
zero the returned value is the required size for lpszDescription.

The caller must pass a valid pointer to the function, ImmGetDescription should
not allocate memory as far as I can see and even if it did there is no way to
return it to the user judging by it's parameters.

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