André Hentschel : ntdll/tests: Fix crash in japanese and chinese test.
Alexandre Julliard
julliard at winehq.org
Thu Nov 11 12:05:48 CST 2010
Module: wine
Branch: master
Commit: 574a21cc14746ae391571740ed7a2323deae2db7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=574a21cc14746ae391571740ed7a2323deae2db7
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Nov 11 00:48:44 2010 +0100
ntdll/tests: Fix crash in japanese and chinese test.
---
dlls/ntdll/tests/rtlstr.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/rtlstr.c b/dlls/ntdll/tests/rtlstr.c
index 91233a5..78df7ef 100644
--- a/dlls/ntdll/tests/rtlstr.c
+++ b/dlls/ntdll/tests/rtlstr.c
@@ -748,7 +748,10 @@ static const ustr2astr_t ustr2astr[] = {
{ 8, 6, 12, "------------", 12, 12, 12, "abcdef", FALSE, 5, 6, 6, "abcde", STATUS_BUFFER_OVERFLOW},
{ 8, 7, 12, "------------", 12, 12, 12, "abcdef", FALSE, 6, 7, 7, "abcdef", STATUS_SUCCESS},
{ 8, 7, 12, "------------", 0, 12, 12, NULL, FALSE, 0, 7, 0, "", STATUS_SUCCESS},
+#if 0
+ /* crashes on japanese and chinese XP */
{ 0, 0, 12, NULL, 10, 10, 12, NULL, FALSE, 5, 0, 0, NULL, STATUS_BUFFER_OVERFLOW},
+#endif
};
#define NB_USTR2ASTR (sizeof(ustr2astr)/sizeof(*ustr2astr))
More information about the wine-cvs
mailing list