From 97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 14 May 2009 16:50:52 +0000 Subject: gss_krb5int_export_lucid_sec_context was erroneously copying the first sizeof(void *) bytes of the context into data_set, instead of the pointer to the context. ticket: 6488 status: open tags: pullup target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22351 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/lucid_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 32b0e13..ff8fe6e 100644 --- a/src/lib/gssapi/krb5/lucid_context.c +++ b/src/lib/gssapi/krb5/lucid_context.c @@ -107,7 +107,7 @@ gss_krb5int_export_lucid_sec_context( goto error_out; } - rep.value = lctx; + rep.value = &lctx; rep.length = sizeof(lctx); retval = generic_gss_add_buffer_set_member(minor_status, &rep, data_set); -- cgit v1.1