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/rpcclient | |
parent | ba6fa9e5271841c30c16907d0c4ad42c3950359a (diff) | |
download | samba-1e3b5ec9518b302dd13c0c99c23f0a4489469d58.tar.gz |
s3: Fix Coverity ID 242722 Uninitialized scalar variable
In an error path we are closing domain_handle without opening it
Diffstat (limited to 'source3/rpcclient')
-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 ab263e765f8..7b8dda2ae8e 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; |