ntdll: Don't copy a missing context in get_thread_context().
Fixes a test failure on ARM64EC.
This commit is contained in:
parent
e92ba2de43
commit
8dc2cc24d7
1 changed files with 1 additions and 1 deletions
|
@ -1790,7 +1790,7 @@ NTSTATUS get_thread_context( HANDLE handle, void *context, BOOL *self, USHORT ma
|
|||
}
|
||||
SERVER_END_REQ;
|
||||
}
|
||||
if (!ret)
|
||||
if (!ret && count)
|
||||
{
|
||||
ret = context_from_server( context, &server_contexts[0], machine );
|
||||
if (!ret && count > 1) ret = context_from_server( context, &server_contexts[1], machine );
|
||||
|
|
Loading…
Add table
Reference in a new issue