summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-02-25 12:19:44 +0000
committerAlexander Bokovoy <ab@samba.org>2015-02-25 16:32:29 +0100
commita99a5a34a54082162f920fcccbe5561320a5d40a (patch)
tree32aaed96eb3eade5ad47ff0b4341914f3b5cd8cd /source4/torture/rpc
parentb72cc326f67d2b19f247e14424adc46275b2db25 (diff)
downloadsamba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.gz
samba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.xz
samba-a99a5a34a54082162f920fcccbe5561320a5d40a.zip
Fix the developer O3 build
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Feb 25 16:32:29 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/backupkey.c4
-rw-r--r--source4/torture/rpc/lsa.c4
-rw-r--r--source4/torture/rpc/schannel.c2
-rw-r--r--source4/torture/rpc/svcctl.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/rpc/backupkey.c b/source4/torture/rpc/backupkey.c
index 1a57bd2c68..c3e990819e 100644
--- a/source4/torture/rpc/backupkey.c
+++ b/source4/torture/rpc/backupkey.c
@@ -569,8 +569,8 @@ static struct bkrp_BackupKey *createRestoreGUIDStruct(struct torture_context *tc
struct bkrp_client_side_wrapped data;
DATA_BLOB *xs;
DATA_BLOB *sec;
- DATA_BLOB *enc_sec;
- DATA_BLOB *enc_xs;
+ DATA_BLOB *enc_sec = NULL;
+ DATA_BLOB *enc_xs = NULL;
DATA_BLOB *blob2;
DATA_BLOB enc_sec_reverted;
DATA_BLOB des3_key;
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 0737a0e703..e5032a8aa4 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -2804,8 +2804,8 @@ static bool test_CreateTrustedDomainEx_common(struct dcerpc_pipe *p,
struct lsa_CreateTrustedDomainEx r;
struct lsa_CreateTrustedDomainEx2 r2;
struct lsa_TrustDomainInfoInfoEx trustinfo;
- struct lsa_TrustDomainInfoAuthInfoInternal *authinfo_internal;
- struct lsa_TrustDomainInfoAuthInfo *authinfo;
+ struct lsa_TrustDomainInfoAuthInfoInternal *authinfo_internal = NULL;
+ struct lsa_TrustDomainInfoAuthInfo *authinfo = NULL;
struct dom_sid **domsid;
struct policy_handle *trustdom_handle;
struct lsa_QueryTrustedDomainInfo q;
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index eff1c7ab1d..b5a76ec611 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -59,7 +59,7 @@ bool test_netlogon_ex_ops(struct dcerpc_pipe *p, struct torture_context *tctx,
struct netr_UserSessionKey key;
struct netr_LMSessionKey LMSessKey;
uint32_t validation_levels[] = { 2, 3 };
- struct netr_SamBaseInfo *base;
+ struct netr_SamBaseInfo *base = NULL;
const char *crypto_alg = "";
bool can_do_validation_6 = true;
diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c
index a20cf98aa0..3e6b66dcc5 100644
--- a/source4/torture/rpc/svcctl.c
+++ b/source4/torture/rpc/svcctl.c
@@ -278,7 +278,7 @@ static bool test_QueryServiceObjectSecurity(struct torture_context *tctx,
struct policy_handle h, s;
struct dcerpc_binding_handle *b = p->binding_handle;
- uint8_t *buffer;
+ uint8_t *buffer = NULL;
uint32_t needed;
enum ndr_err_code ndr_err;