The branch, v3-2-stable has been updated via dfeeb74b00346aea16e69663fbc99f814e793229 (commit) from ab07c252d73534b50101975f742117477c92490e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log ----------------------------------------------------------------- commit dfeeb74b00346aea16e69663fbc99f814e793229 Author: Günther Deschner <[EMAIL PROTECTED]> Date: Thu Mar 27 22:55:20 2008 +0100 Make sure to zero the returned handle in _svcctl_CloseServiceHandle(). Guenther (cherry picked from commit 84a079af490cb135dd557091932ea079e1d7ff5b) ----------------------------------------------------------------------- Summary of changes: source/rpc_server/srv_svcctl_nt.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/rpc_server/srv_svcctl_nt.c b/source/rpc_server/srv_svcctl_nt.c index 3962626..446fa4b 100644 --- a/source/rpc_server/srv_svcctl_nt.c +++ b/source/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; } -- Samba Shared Repository