mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
[BASESRV]
Make sure that the console record exists before continuing. svn path=/branches/ntvdm/; revision=63099
This commit is contained in:
parent
47c1283bd2
commit
8be11a5989
1 changed files with 7 additions and 0 deletions
|
@ -901,6 +901,13 @@ CSR_API(BaseSrvGetNextVDMCommand)
|
|||
&ConsoleRecord);
|
||||
}
|
||||
|
||||
/* Make sure we found the console record */
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
/* Return the session ID */
|
||||
GetNextVdmCommandRequest->iTask = ConsoleRecord->SessionId;
|
||||
GetNextVdmCommandRequest->WaitObjectForVDM = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue