kernel32/tests: Initialize input buffer in test_overlapped_transport.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46341 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
85fea53af8
commit
0a41f5b0a2
|
@ -3215,6 +3215,7 @@ static void test_overlapped_transport(BOOL msg_mode, BOOL msg_read_mode)
|
|||
CloseHandle(server);
|
||||
|
||||
/* close client with pending writes */
|
||||
memset(buf, 0xaa, sizeof(buf));
|
||||
create_overlapped_pipe(create_flags, &client, &server);
|
||||
overlapped_write_async(server, buf, 7000, &overlapped);
|
||||
flush = test_flush_async(server, ERROR_BROKEN_PIPE);
|
||||
|
|
Loading…
Reference in New Issue