mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
Check for correct access right when deleting services
Patch by bugboy <martinmnet at hotmail dot com> See issue #3474 for more details. svn path=/trunk/; revision=34410
This commit is contained in:
parent
1598630aef
commit
8ca3cee755
|
@ -395,7 +395,7 @@ DWORD RDeleteService(
|
|||
return ERROR_INVALID_HANDLE;
|
||||
|
||||
if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess,
|
||||
STANDARD_RIGHTS_REQUIRED))
|
||||
DELETE))
|
||||
return ERROR_ACCESS_DENIED;
|
||||
|
||||
lpService = hSvc->ServiceEntry;
|
||||
|
|
Loading…
Reference in a new issue