[Bug 25861] POPO 2011 exits silently

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 4 12:46:27 CST 2012


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

--- Comment #19 from Qian Hong <fracting at gmail.com> 2012-02-04 12:46:27 CST ---
Hello, found a dirty hack:

In tooltips.c:
--- snip ---
static LRESULT
TOOLTIPS_GetToolInfoT (const TOOLTIPS_INFO *infoPtr, TTTOOLINFOW *ti, BOOL isW)

WCHAR tmp[]={'t','m','p','\0'};
ti->lpszText = tmp;
--- snip ---

The current version is:
ti->lpszText = /* NULL */;  /* FIXME */

This null point let the program crash in msvcrt:_mbscmp

I have no idea how to implement a correctly ti->lpszText, could some wine
developers take this bug?

Thanks a lot!

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