[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:
Timo Kreuzer 2014-05-14 20:27:18 +00:00
parent a1b89faa39
commit e44bf54b10

View file

@ -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,