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:
Jacek Caban 2019-01-07 13:40:28 +01:00 committed by Alexandre Julliard
parent 85fea53af8
commit 0a41f5b0a2
1 changed files with 1 additions and 0 deletions

View File

@ -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);