mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[NTOS/CM]
- Fix overzealous check svn path=/trunk/; revision=63707
This commit is contained in:
parent
642d03e08b
commit
970a537191
|
@ -625,8 +625,8 @@ NtSetValueKey(IN HANDLE KeyHandle,
|
|||
|
||||
PreviousMode = ExGetPreviousMode();
|
||||
|
||||
if (Data && !DataSize)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
if (!DataSize)
|
||||
Data = NULL;
|
||||
|
||||
/* Probe and copy the data */
|
||||
if ((PreviousMode != KernelMode) && Data)
|
||||
|
|
Loading…
Reference in a new issue