[Bug 19759] SLTG_ReadString does not null terminate
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Aug 17 08:43:11 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19759
--- Comment #3 from Vitaliy Margolen <vitaliy at kievinfo.com> 2009-08-17 08:43:09 ---
Something doesn't look right in your patch. SysAllocStringLen already
zero-terminates it. This means something overwrites that last \0, which is the
problem. The only thing that can do that in this code is MultiByteToWideChar
because it gets the wrong size...
--
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