[Bug 49902] Garbled text in Rufus' tooltips

WineHQ Bugzilla wine-bugs at winehq.org
Sun Sep 27 15:00:09 CDT 2020


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

--- Comment #2 from Nikolay Sivov <bunglehead at gmail.com> ---
I believe it is an application bug. It handles tooltip notifications like this:

---
    case IDC_ABOUT:
        utf8_to_wchar_no_alloc(lmprintf(MSG_302), wtooltip,
ARRAYSIZE(wtooltip));
    lpttt->lpszText = wtooltip;
        break;
---

wtooltip[] here is on stack in window procedure, handling notification.
Returning pointers to it is not a good idea.

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