diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-15 10:52:49 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-15 11:10:43 +0100 |
commit | 09677d664f2a5c254549597f5b2b5203fcb0a23e (patch) | |
tree | 589eb9a28e2a99fc73c091b6ee5715f740ea8a44 /source3/rpc_client | |
parent | cc90415062c4f1c68005fc3ff2958c189a88d949 (diff) | |
download | samba-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/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_winreg.c | 2 |
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; |