mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[NTOSKRNL]
Acquire IopSecurityResource exclusive when required. Spotted by Thomas. svn path=/trunk/; revision=65857
This commit is contained in:
parent
ecb6067cf0
commit
594d5a3366
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ IopSetDeviceSecurityDescriptor(IN PDEVICE_OBJECT DeviceObject,
|
|||
}
|
||||
|
||||
KeEnterCriticalRegion();
|
||||
ExAcquireResourceSharedLite(&IopSecurityResource, TRUE);
|
||||
ExAcquireResourceExclusiveLite(&IopSecurityResource, TRUE);
|
||||
/* Check if someone changed it in our back */
|
||||
if (DeviceObject->SecurityDescriptor == OldSecurityDescriptor)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue