1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Fix Coverity ID 242726 Uninitialized scalar variable

Not a functional bug, but we copy all of the "key" structure inside
dcerpc_winreg_OpenKey.
This commit is contained in:
Volker Lendecke 2012-05-09 10:51:54 +02:00
parent 4e05717559
commit dead2168a2

View File

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