diff options
author | Simo Sorce <simo@redhat.com> | 2013-04-03 09:25:37 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-04-03 16:39:11 -0400 |
commit | 20f5dd06be93df2d7ad3a1d76d8aac3a29ee8684 (patch) | |
tree | 572c71082185d1a16f6c9b879a45869bca14b2f3 /proxy/tests | |
parent | 94a4d4947c41379fb74e229b1b0b00d554f170be (diff) | |
download | gss-proxy-20f5dd06be93df2d7ad3a1d76d8aac3a29ee8684.tar.gz gss-proxy-20f5dd06be93df2d7ad3a1d76d8aac3a29ee8684.tar.xz gss-proxy-20f5dd06be93df2d7ad3a1d76d8aac3a29ee8684.zip |
Fix uninizialized variables found by Coverity
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/tests')
-rw-r--r-- | proxy/tests/cli_srv_comm.c | 2 | ||||
-rw-r--r-- | proxy/tests/interposetest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proxy/tests/cli_srv_comm.c b/proxy/tests/cli_srv_comm.c index 1e055ca..f085af3 100644 --- a/proxy/tests/cli_srv_comm.c +++ b/proxy/tests/cli_srv_comm.c @@ -363,7 +363,7 @@ void *server_thread(void *pvt) uint32_t ret_min; struct gssx_ctx *context_handle = NULL; struct gssx_cred *cred_handle = NULL; - struct gssx_name *src_name; + struct gssx_name *src_name = NULL; gss_buffer_desc out_token = GSS_C_EMPTY_BUFFER; struct gssx_cred *deleg_cred = NULL; gss_OID_set mech_set = GSS_C_NO_OID_SET; diff --git a/proxy/tests/interposetest.c b/proxy/tests/interposetest.c index 83e550d..ed286d6 100644 --- a/proxy/tests/interposetest.c +++ b/proxy/tests/interposetest.c @@ -228,7 +228,7 @@ void run_client(struct aproc *data) gss_buffer_desc msg_buf = GSS_C_EMPTY_BUFFER; char *message = "SECRET"; int ret = -1; - gss_iov_buffer_desc iov[2]; + gss_iov_buffer_desc iov[2] = { { 0, { 0, NULL } }, { 0, { 0, NULL } } }; int sealed; uint32_t max_size = 0; |