git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d4cb5
)
Make sure to zero the returned handle in _svcctl_CloseServiceHandle().
author
Günther Deschner
<gd@samba.org>
Thu, 27 Mar 2008 21:55:20 +0000
(22:55 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 27 Mar 2008 22:31:54 +0000
(23:31 +0100)
Guenther
(This used to be commit
84a079af490cb135dd557091932ea079e1d7ff5b
)
source3/rpc_server/srv_svcctl_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_svcctl_nt.c
b/source3/rpc_server/srv_svcctl_nt.c
index c117d46fdef2e1f3c3cb465c59e05e0bbbeeff4e..6bb538a3115384a3c148287fbfcb5b69c238f6bd 100644
(file)
--- a/
source3/rpc_server/srv_svcctl_nt.c
+++ b/
source3/rpc_server/srv_svcctl_nt.c
@@
-328,6
+328,8
@@
WERROR _svcctl_CloseServiceHandle(pipes_struct *p, struct svcctl_CloseServiceHan
if ( !close_policy_hnd( p, r->in.handle ) )
return WERR_BADFID;
+ ZERO_STRUCTP(r->out.handle);
+
return WERR_OK;
}