Author: gedmurphy
Date: Thu Jul 10 06:45:06 2008
New Revision: 34410
URL:
http://svn.reactos.org/svn/reactos?rev=34410&view=rev
Log:
Check for correct access right when deleting services
Patch by bugboy <martinmnet at hotmail dot com>
See issue #3474 for more details.
Modified:
trunk/reactos/base/system/services/rpcserver.c
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Thu Jul 10 06:45:06 2008
@@ -395,7 +395,7 @@
return ERROR_INVALID_HANDLE;
if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess,
- STANDARD_RIGHTS_REQUIRED))
+ DELETE))
return ERROR_ACCESS_DENIED;
lpService = hSvc->ServiceEntry;