diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-09 10:56:54 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-05-10 09:11:57 +0200 |
commit | 1e3b5ec9518b302dd13c0c99c23f0a4489469d58 (patch) | |
tree | 9f11352cce423c90f384aac8c7faecaab0e6a2ed /source3 | |
parent | ba6fa9e5271841c30c16907d0c4ad42c3950359a (diff) | |
download | samba-1e3b5ec9518b302dd13c0c99c23f0a4489469d58.tar.gz samba-1e3b5ec9518b302dd13c0c99c23f0a4489469d58.tar.bz2 samba-1e3b5ec9518b302dd13c0c99c23f0a4489469d58.zip |
s3: Fix Coverity ID 242722 Uninitialized scalar variable
In an error path we are closing domain_handle without opening it
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index ab263e765f..7b8dda2ae8 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -3230,7 +3230,7 @@ static NTSTATUS cmd_samr_get_dispinfo_idx(struct rpc_pipe_client *cli, { NTSTATUS status, result; struct policy_handle connect_handle; - struct policy_handle domain_handle; + struct policy_handle domain_handle = { 0, }; uint16_t level = 1; struct lsa_String name; uint32_t idx = 0; |