projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTOS/CM]
[reactos.git]
/
reactos
/
ntoskrnl
/
config
/
ntapi.c
diff --git
a/reactos/ntoskrnl/config/ntapi.c
b/reactos/ntoskrnl/config/ntapi.c
index
bc89d22
..
d70eec1
100644
(file)
--- a/
reactos/ntoskrnl/config/ntapi.c
+++ b/
reactos/ntoskrnl/config/ntapi.c
@@
-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)