1
0
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:
Volker Lendecke 2012-05-09 10:51:54 +02:00
parent dead2168a2
commit aa220c4981

View File

@ -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 = "";