mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Nikolay Sivov <[email protected]>
Thu, 22 Jan 2009 12:00:33 +0000 (15:00 +0300) kernel32: Make GetOverlappedResult crash on NULL args as native does. svn path=/trunk/; revision=39015
This commit is contained in:
@@ -1861,6 +1861,7 @@ static DWORD WINAPI local_server_thread(LPVOID param)
|
||||
BOOL multi_use = lsp->multi_use;
|
||||
OVERLAPPED ovl;
|
||||
HANDLE pipe_event;
|
||||
DWORD bytes;
|
||||
|
||||
TRACE("Starting threader for %s.\n",debugstr_guid(&lsp->clsid));
|
||||
|
||||
@@ -1929,7 +1930,7 @@ static DWORD WINAPI local_server_thread(LPVOID param)
|
||||
}
|
||||
|
||||
WriteFile(hPipe,buffer,buflen,&res,&ovl);
|
||||
GetOverlappedResult(hPipe, &ovl, NULL, TRUE);
|
||||
GetOverlappedResult(hPipe, &ovl, &bytes, TRUE);
|
||||
HeapFree(GetProcessHeap(),0,buffer);
|
||||
|
||||
FlushFileBuffers(hPipe);
|
||||
|
||||
Reference in New Issue
Block a user