[kernel32 tests] Fix a wrong length passed to a WideCharToMultiByte test, which led to a use of uninitialized stack memory

Colin Finck mail at colinfinck.de
Thu Jul 31 13:20:04 CDT 2008


Changelog:
  Fix a wrong length passed to a WideCharToMultiByte test, which led to a
use of uninitialized stack memory.
  The test passed anyway, because only the 3 bytes were checked later and
the destination buffer was large enough to hold 5 characters.
  Thanks to Dan for providing the valgrind output.

Best regards,

Colin Finck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-a-wrong-length-passed-to-a-WideCharToMultiByte-t.patch
Type: application/octet-stream
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080731/d2563a1f/attachment.obj 


More information about the wine-patches mailing list