https://git.reactos.org/?p=reactos.git;a=commitdiff;h=33604e014768009d2c66c106d54d6d22945063fa

commit 33604e014768009d2c66c106d54d6d22945063fa
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Mon Jun 10 21:16:41 2019 +0200
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Mon Jun 10 21:17:21 2019 +0200

    [NTOSKRNL] Fix ObpLUIDDeviceMapsEnabled initialization
---
 ntoskrnl/ob/obname.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ntoskrnl/ob/obname.c b/ntoskrnl/ob/obname.c
index 5700d43d5ca..460338f0d48 100644
--- a/ntoskrnl/ob/obname.c
+++ b/ntoskrnl/ob/obname.c
@@ -188,6 +188,8 @@ ObpCreateDosDevicesDirectory(VOID)
      */
     if (ObpProtectionMode == 0 || ObpLUIDDeviceMapsDisabled != 0)
         ObpLUIDDeviceMapsEnabled = 0;
+    else
+        ObpLUIDDeviceMapsEnabled = 1;
 
     /* Create a custom security descriptor for the global DosDevices directory 
*/
     Status = ObpGetDosDevicesProtection(&DosDevicesSD);

Reply via email to