diff options
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 4 | ||||
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index ee3970d0f2..80bbb6b583 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -294,7 +294,7 @@ static NTSTATUS netr_ServerAuthenticate(struct dcesrv_call_state *dce_call, TALL struct netr_ServerAuthenticate *r) { struct netr_ServerAuthenticate3 r3; - uint32_t rid; + uint32_t rid = 0; /* TODO: * negotiate_flags is used as an [in] parameter * so it need to be initialised. @@ -320,7 +320,7 @@ static NTSTATUS netr_ServerAuthenticate2(struct dcesrv_call_state *dce_call, TAL struct netr_ServerAuthenticate2 *r) { struct netr_ServerAuthenticate3 r3; - uint32 rid; + uint32 rid = 0; r3.in.server_name = r->in.server_name; r3.in.account_name = r->in.account_name; diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 195a2b75f9..7eb24f4bd1 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -790,7 +790,7 @@ static NTSTATUS samr_CreateUser(struct dcesrv_call_state *dce_call, TALLOC_CTX * struct samr_CreateUser *r) { struct samr_CreateUser2 r2; - uint32_t access_granted; + uint32_t access_granted = 0; /* a simple wrapper around samr_CreateUser2 works nicely */ |