From: Pierre Schweitzer Date: Mon, 10 Jun 2019 19:16:41 +0000 (+0200) Subject: [NTOSKRNL] Fix ObpLUIDDeviceMapsEnabled initialization X-Git-Tag: 0.4.14-dev~818 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=33604e014768009d2c66c106d54d6d22945063fa [NTOSKRNL] Fix ObpLUIDDeviceMapsEnabled initialization --- 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);