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 | aa220c498166f98cfe8bd4177c443f03237e2e9e (patch) | |
tree | 0a4f376889677a65497f605114316c22bcdb2270 /source3/utils | |
parent | dead2168a2fa47d99251baa894e9c932074d1734 (diff) | |
download | samba-aa220c498166f98cfe8bd4177c443f03237e2e9e.tar.gz samba-aa220c498166f98cfe8bd4177c443f03237e2e9e.tar.bz2 samba-aa220c498166f98cfe8bd4177c443f03237e2e9e.zip |
s3: Fix Coverity ID 242725 Uninitialized scalar variable
Not a functional bug, but we copy all of the "key" structure inside
dcerpc_winreg_CreateKey.
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc_conf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index 4e2118d1c1..8c5717c519 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1084,6 +1084,7 @@ static NTSTATUS rpc_conf_drop_internal(struct net_context *c, goto error; } + ZERO_STRUCT(wkey); wkey.name = keyname; ZERO_STRUCT(wkeyclass); wkeyclass.name = ""; |