[1/2] msvcrt: Implement _mbsnbcat_s. (try 2)

Andrew Nguyen anguyen at codeweavers.com
Thu Oct 21 02:55:43 CDT 2010


Thanks to Piotr Caban for pointing out the possible out-of-bounds 
access with an empty destination string.
---
 dlls/msvcr100/msvcr100.spec |    2 +-
 dlls/msvcr80/msvcr80.spec   |    2 +-
 dlls/msvcr90/msvcr90.spec   |    2 +-
 dlls/msvcrt/mbcs.c          |   49 ++++++++++++++++
 dlls/msvcrt/msvcrt.spec     |    4 +-
 dlls/msvcrt/tests/string.c  |  130 +++++++++++++++++++++++++++++++++++++++++++
 include/msvcrt/mbstring.h   |    1 +
 7 files changed, 185 insertions(+), 5 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Implement-_mbsnbcat_s.txt
Type: text/x-patch
Size: 11611 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101021/00333c59/attachment-0001.bin>


More information about the wine-patches mailing list