mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:25:55 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue