[PATCH 2/2] kernel32: Check the size of the string in CompareStringA (try 4)
Tatyana Fokina
tatyana at etersoft.ru
Tue Jun 11 08:47:19 CDT 2013
If called MultiByteToWideChar() with a string whose length is more than
130 (the size of StaticUnicodeBuffer), set an error
code(ERROR_INSUFFICIENT_BUFFER) in spite of the fact that the result is
correct. Check the size of the string before calling
MultiByteToWideChar() of CompareStringA().
try 4: Fix indentation.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-kernel32-Check-the-size-of-the-string-in-CompareStri.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130611/301b10cc/attachment.ksh>
More information about the wine-patches
mailing list