diff options
author | Günther Deschner <gd@samba.org> | 2009-04-09 15:08:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-09 15:08:29 +0200 |
commit | 8b9f2abfcb956f3ad496cefcc9d8ced8eadf1470 (patch) | |
tree | 820158c2b43e02743fa5b3dc3bf30fc8c8306154 /source3/rpc_server | |
parent | 1632a4ebabc7414c8fd05084cd7ca83fb9233297 (diff) | |
download | samba-8b9f2abfcb956f3ad496cefcc9d8ced8eadf1470.tar.gz samba-8b9f2abfcb956f3ad496cefcc9d8ced8eadf1470.tar.bz2 samba-8b9f2abfcb956f3ad496cefcc9d8ced8eadf1470.zip |
s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().
Found by torture-test.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_svcctl_nt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index 8ed308ad6b..350a5ca236 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -873,7 +873,6 @@ WERROR _svcctl_QueryServiceObjectSecurity(pipes_struct *p, *r->out.needed = ndr_size_security_descriptor( sec_desc, NULL, 0 ); if ( *r->out.needed > r->in.offered) { - ZERO_STRUCTP( &r->out.buffer ); return WERR_INSUFFICIENT_BUFFER; } |