From aa220c498166f98cfe8bd4177c443f03237e2e9e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 9 May 2012 10:51:54 +0200 Subject: s3: Fix Coverity ID 242725 Uninitialized scalar variable Not a functional bug, but we copy all of the "key" structure inside dcerpc_winreg_CreateKey. --- source3/utils/net_rpc_conf.c | 1 + 1 file changed, 1 insertion(+) 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 = ""; -- cgit