mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[NTOS/CM]
- Fix overzealous check svn path=/trunk/; revision=63707
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user