diff options
author | Günther Deschner <gdeschner@redhat.com> | 2014-01-29 17:59:03 +0100 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2014-02-05 15:08:53 +0100 |
commit | c17f20b949d2e80e596ce21ecd944db80aaa80b1 (patch) | |
tree | 13e943d767cc383514795bad706d72230296b0d2 | |
parent | bd8ffcf67be8fdbe14bc49a65a8eafe904119d88 (diff) | |
download | gss-proxy-c17f20b949d2e80e596ce21ecd944db80aaa80b1.tar.gz gss-proxy-c17f20b949d2e80e596ce21ecd944db80aaa80b1.tar.xz gss-proxy-c17f20b949d2e80e596ce21ecd944db80aaa80b1.zip |
Fix potential segfault in gssi_inquire_context().
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | proxy/src/mechglue/gpp_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/mechglue/gpp_context.c b/proxy/src/mechglue/gpp_context.c index 6010724..bb16a93 100644 --- a/proxy/src/mechglue/gpp_context.c +++ b/proxy/src/mechglue/gpp_context.c @@ -223,7 +223,7 @@ OM_uint32 gssi_inquire_context(OM_uint32 *minor_status, maj = gss_inquire_context(&min, ctx_handle->local, s_name ? &s_name->local : NULL, - s_name ? &t_name->local : NULL, + t_name ? &t_name->local : NULL, lifetime_rec, &mech_oid, ctx_flags, @@ -233,7 +233,7 @@ OM_uint32 gssi_inquire_context(OM_uint32 *minor_status, maj = gpm_inquire_context(&min, ctx_handle->remote, s_name ? &s_name->remote : NULL, - s_name ? &t_name->remote : NULL, + t_name ? &t_name->remote : NULL, lifetime_rec, &mech_oid, ctx_flags, |