diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-09 10:51:54 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-05-10 09:11:57 +0200 |
commit | dead2168a2fa47d99251baa894e9c932074d1734 (patch) | |
tree | 0384d2b618f667436367be7c0025e84310aeb97e /source3 | |
parent | 4e05717559a2649288ac0a9e5df4cdf1543aa559 (diff) | |
download | samba-dead2168a2fa47d99251baa894e9c932074d1734.tar.gz samba-dead2168a2fa47d99251baa894e9c932074d1734.tar.bz2 samba-dead2168a2fa47d99251baa894e9c932074d1734.zip |
s3: Fix Coverity ID 242726 Uninitialized scalar variable
Not a functional bug, but we copy all of the "key" structure inside
dcerpc_winreg_OpenKey.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index 3e13b12bd8..4e2118d1c1 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -442,7 +442,7 @@ static NTSTATUS rpc_conf_get_share(TALLOC_CTX *mem_ctx, const char **val_names; enum winreg_Type *types; DATA_BLOB *data; - struct winreg_String key; + struct winreg_String key = { 0, }; const char **multi_s = NULL; const char *s = NULL; struct smbconf_service tmp_share; |