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:
parent
f3d4cb5efa
commit
4c17fce8dc
@ -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