winmm: Initialize Memory in mciSendStringA
Rico Schüller
kgbricola at web.de
Tue Mar 3 05:07:19 CST 2009
Hi,
this patch fixes bug 17518, where the length of lpwstrRet in
WideCharToMultiByte is taken from uninitialized data. This could crash
the app.
Cheers
Rico
---
dlls/winmm/mci.c | 5 ++++-
dlls/winmm/tests/mci.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b27f8aef613ba62fa07db2f0031bab4987ec7f46.diff
Type: text/x-patch
Size: 1547 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090303/6eb5b0c1/attachment.bin
More information about the wine-patches
mailing list