Robert Reif : kernel32:
Fix TRACE in WideCharToMultiByte to not cause exception with non-null
terminated input .
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 28 05:09:15 CDT 2006
Module: wine
Branch: master
Commit: 5f18bfca68d0e20df5f1d881d678a7ee753c8bd4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5f18bfca68d0e20df5f1d881d678a7ee753c8bd4
Author: Robert Reif <reif at earthlink.net>
Date: Sat Aug 26 10:15:27 2006 -0400
kernel32: Fix TRACE in WideCharToMultiByte to not cause exception with non-null terminated input.
---
dlls/kernel/locale.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/locale.c b/dlls/kernel/locale.c
index a1608e2..7d33a8f 100644
--- a/dlls/kernel/locale.c
+++ b/dlls/kernel/locale.c
@@ -1662,7 +1662,8 @@ INT WINAPI WideCharToMultiByte( UINT pag
}
ret = 0;
}
- TRACE("cp %d %s -> %s\n", page, debugstr_w(src), debugstr_a(dst));
+ TRACE("cp %d %s -> %s, ret = %d\n",
+ page, debugstr_wn(src, srclen), debugstr_an(dst, ret), ret);
return ret;
}
More information about the wine-cvs
mailing list