1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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

Guenther
This commit is contained in:
Günther Deschner 2008-03-27 22:55:20 +01:00
parent 4b03f4eb2d
commit 84a079af49

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