mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[NTOSKRNL]
Fix NtReleaseMutant, which was expecting MUTANT_QUERY_STATE right on the mutant handle, which is not required, probably a copypasta. Fixes a test. svn path=/trunk/; revision=63300
This commit is contained in:
@@ -325,7 +325,7 @@ NtReleaseMutant(IN HANDLE MutantHandle,
|
||||
|
||||
/* Open the Object */
|
||||
Status = ObReferenceObjectByHandle(MutantHandle,
|
||||
MUTANT_QUERY_STATE,
|
||||
0, /* No access rights required */
|
||||
ExMutantObjectType,
|
||||
PreviousMode,
|
||||
(PVOID*)&Mutant,
|
||||
|
||||
Reference in New Issue
Block a user