mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[RTL]
- Add missing OBJ_KERNEL_HANDLE in RtlOpenCurrentUser CORE-10207 svn path=/trunk/; revision=69590
This commit is contained in:
parent
f482f2901b
commit
3d24f6cb54
1 changed files with 2 additions and 2 deletions
|
@ -703,7 +703,7 @@ RtlOpenCurrentUser(IN ACCESS_MASK DesiredAccess,
|
|||
/* Initialize the attributes and open it */
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&KeyPath,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
Status = ZwOpenKey(KeyHandle, DesiredAccess, &ObjectAttributes);
|
||||
|
@ -717,7 +717,7 @@ RtlOpenCurrentUser(IN ACCESS_MASK DesiredAccess,
|
|||
RtlInitUnicodeString(&KeyPath, RtlpRegPaths[RTL_REGISTRY_USER]);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&KeyPath,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
Status = ZwOpenKey(KeyHandle, DesiredAccess, &ObjectAttributes);
|
||||
|
|
Loading…
Reference in a new issue