summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-15 10:52:49 +0100
committerVolker Lendecke <vl@samba.org>2011-03-15 11:10:43 +0100
commit09677d664f2a5c254549597f5b2b5203fcb0a23e (patch)
tree589eb9a28e2a99fc73c091b6ee5715f740ea8a44 /source3
parentcc90415062c4f1c68005fc3ff2958c189a88d949 (diff)
downloadsamba-09677d664f2a5c254549597f5b2b5203fcb0a23e.tar.gz
samba-09677d664f2a5c254549597f5b2b5203fcb0a23e.tar.bz2
samba-09677d664f2a5c254549597f5b2b5203fcb0a23e.zip
s3: Fix Coverity ID 2288: Uninitialized read
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_winreg.c b/source3/rpc_client/cli_winreg.c
index c3f0c901f8..cf23c2a676 100644
--- a/source3/rpc_client/cli_winreg.c
+++ b/source3/rpc_client/cli_winreg.c
@@ -456,7 +456,7 @@ NTSTATUS dcerpc_winreg_set_expand_sz(TALLOC_CTX *mem_ctx,
const char *data,
WERROR *pwerr)
{
- struct winreg_String wvalue;
+ struct winreg_String wvalue = { 0, };
DATA_BLOB blob;
WERROR result = WERR_OK;
NTSTATUS status;