1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Make sure to zero the returned handle in _svcctl_CloseServiceHandle().

Guenther
(This used to be commit 84a079af49)
This commit is contained in:
Günther Deschner 2008-03-27 22:55:20 +01:00
parent f3d4cb5efa
commit 4c17fce8dc

View File

@ -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;
}