[NTOS/CM]

- Fix overzealous check

svn path=/trunk/; revision=63707
This commit is contained in:
Jérôme Gardou 2014-07-10 09:43:30 +00:00
parent 642d03e08b
commit 970a537191

View file

@ -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)