[Bug 53014] HICON leak in CopyImage causes TheBat! to crash after a while
WineHQ Bugzilla
wine-bugs at winehq.org
Mon May 30 21:03:29 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=53014
--- Comment #7 from jswinebz at kanargh.org.uk ---
I refer you to
https://docs.microsoft.com/en-us/windows/win32/api/subauth/ns-subauth-unicode_string
Length
Specifies the length
MaximumLength
Specifies the total size, in bytes
There is no "in this case", UNICODE_STRING members are in *bytes* in *all
cases*.
And there is clearly a bug relative to the patch I posted because half the code
assumes bytes (and is correct) and half assumes characters (and it wrong).
There is just no question about that: that is the public windows interface.
--
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