diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 6 | ||||
-rw-r--r-- | source4/torture/rpc/xplogin.c | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index e7c04b6ad1..821a823595 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -72,10 +72,8 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, struct netr_LogonSamLogonEx *r_ex = &samlogon_state->r_ex; struct netr_LogonSamLogonWithFlags *r_flags = &samlogon_state->r_flags; struct netr_NetworkInfo ninfo; - - struct netr_SamBaseInfo *base; - - uint16 validation_level; + struct netr_SamBaseInfo *base = NULL; + uint16 validation_level = 0; samlogon_state->r.in.logon.network = &ninfo; samlogon_state->r_ex.in.logon.network = &ninfo; diff --git a/source4/torture/rpc/xplogin.c b/source4/torture/rpc/xplogin.c index 8b7ccf115d..0007955e08 100644 --- a/source4/torture/rpc/xplogin.c +++ b/source4/torture/rpc/xplogin.c @@ -775,7 +775,7 @@ static NTSTATUS test_getallsids(struct smbcli_transport *transport, struct samr_Connect4 r4; struct policy_handle connect_handle, user_handle; struct policy_handle builtin_handle, domain_handle; - struct dom_sid *domain_sid; + struct dom_sid *domain_sid = NULL; struct dom_sid *user_sid; struct dom_sid *primary_group_sid; |