Commit 6c8ed9ef authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ntdll: Initialise the part of the buffer to be written to a file in the file test.

parent 6d113489
...@@ -101,6 +101,8 @@ static void read_file_test(void) ...@@ -101,6 +101,8 @@ static void read_file_test(void)
LARGE_INTEGER offset; LARGE_INTEGER offset;
HANDLE event = CreateEventA( NULL, TRUE, FALSE, NULL ); HANDLE event = CreateEventA( NULL, TRUE, FALSE, NULL );
buffer[0] = 1;
if (!create_pipe( &read, &write, FILE_FLAG_OVERLAPPED, 4096 )) return; if (!create_pipe( &read, &write, FILE_FLAG_OVERLAPPED, 4096 )) return;
/* try read with no data */ /* try read with no data */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment