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:
parent
4b03f4eb2d
commit
84a079af49
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user