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:
parent
4e05717559
commit
dead2168a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user