oleaut32: Copy bytes instead of WCHARs in VarBstrCat
Nikolay Sivov
nsivov at codeweavers.com
Mon May 31 17:22:22 CDT 2010
Fix for http://bugs.winehq.org/show_bug.cgi?id=13516
A problem is clearly described in a report and tests prove it - we can't
use WCHAR length
for concatenation cause a BSTR could be allocated with odd byte count
too, so
SysStringLen()*sizeof(WCHAR) doesn't give a stored byte count.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Copy-bytes-instead-of-WCHARs-in-VarBstrCat.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100601/a9184d4d/attachment.asc>
More information about the wine-patches
mailing list