From 309a5148b14d6e7c700803b7d3c99b93cdc53ae7 Mon Sep 17 00:00:00 2001 From: Dart Vanya Date: Thu, 5 Dec 2024 08:25:09 +0300 Subject: [PATCH] fix PhOpenDriver regression from 95bc2fe8c1a077aeb2103c076e3991683294d4fc --- phlib/native.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phlib/native.c b/phlib/native.c index a34adb3d01a2..bc6bb73c7451 100644 --- a/phlib/native.c +++ b/phlib/native.c @@ -5618,7 +5618,7 @@ NTSTATUS PhOpenDriverByBaseAddress( InitializeObjectAttributes( &objectAttributes, &objectDirectoryName, - OBJ_EXCLUSIVE, + 0, NULL, NULL ); @@ -5669,7 +5669,7 @@ NTSTATUS PhOpenDriver( InitializeObjectAttributes( &objectAttributes, &objectName, - OBJ_EXCLUSIVE | OBJ_CASE_INSENSITIVE, + OBJ_CASE_INSENSITIVE, RootDirectory, NULL );