mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[RTL]
- Add missing OBJ_KERNEL_HANDLE in RtlOpenCurrentUser CORE-10207 svn path=/trunk/; revision=69590
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user