Piotr Caban <piotr(a)codeweavers.com> writes:
> ---
> dlls/msvcr100/msvcr100.spec | 4 ++--
> dlls/msvcr110/msvcr110.spec | 4 ++--
> dlls/msvcr70/msvcr70.spec | 4 ++--
> dlls/msvcr71/msvcr71.spec | 4 ++--
> dlls/msvcr80/msvcr80.spec | 4 ++--
> dlls/msvcr90/msvcr90.spec | 4 ++--
> dlls/msvcrt/mbcs.c | 7 ++----
> dlls/msvcrt/msvcrt.spec | 53
> ---------------------------------------------
> dlls/msvcrt/string.c | 6 +++--
> 9 files changed, 18 insertions(+), 72 deletions(-)
It doesn't work:
../../../tools/runtest -q -P wine -T ../../.. -M msvcrt.dll -p msvcrt_test.exe.so string && touch string.ok
wine: Unhandled exception 0xc0000417 in thread 62 at address 0x7b83aa0e (thread 0062), starting debugger...
Unhandled exception: 0xc0000417 in 32-bit code (0x7b83aa0e).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b83aa0e ESP:0032f9a4 EBP:0032fa18 EFLAGS:00000246( - -- I Z- -P- )
EAX:7b826b79 EBX:7b8b5dac ECX:00000000 EDX:00000000
ESI:c0000417 EDI:00000000
Stack dump:
0x0032f9a4: 0032f9c4 009d0152 7bcc4514 c0000417
0x0032f9b4: 00000001 00000000 7b83aa0e 00000000
0x0032f9c4: 0032fa40 687415e1 68718cdf 00b100b0
0x0032f9d4: 00b300b2 039c00b4 681c8cc0 00000001
0x0032f9e4: 687415e0 0032fa28 6802d1bc 00000001
0x0032f9f4: 687415e0 68718cdf 68718c75 0032fa40
Backtrace:
=>0 0x7b83aa0e RaiseException+0x5e(code=<couldn't compute location>, flags=<couldn't compute location>, nbargs=<couldn't compute location>, args=<couldn't compute location>) [/home/julliard/wine/wine/dlls/kernel32/except.c:84] in kernel32 (0x0032fa18)
1 0x686c9b5d MSVCRT__invalid_parameter+0x8c() in msvcrt (0x0032fa78)
2 0x686da0c8 MSVCRT_memcpy_s+0x87(dest=0x6869112c, numberOfElements=0x8, src=0x68688415, count=0xf) [/home/julliard/wine/wine/dlls/msvcrt/heap.c:645] in msvcrt (0x0032fac8)
3 0x6865d547 test_memcpy_s+0x1f6() [/home/julliard/wine/wine/dlls/msvcrt/tests/string.c:581] in msvcrt_test (0x0032fb48)
4 0x686686c6 func_string+0xe55() [/home/julliard/wine/wine/dlls/msvcrt/tests/string.c:2737] in msvcrt_test (0x0032fd48)
5 0x6862b021 main+0x2f0(argc=<is not available>, argv=<is not available>) [/home/julliard/wine/wine/dlls/msvcrt/tests/../../../include/wine/test.h:584] in msvcrt_test (0x0032fe18)
--
Alexandre Julliard
julliard(a)winehq.org