mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Fix Coverity ID 242725 Uninitialized scalar variable
Not a functional bug, but we copy all of the "key" structure inside dcerpc_winreg_CreateKey.
This commit is contained in:
parent
dead2168a2
commit
aa220c4981
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user