From: Greg Hudson Date: Thu, 14 May 2009 16:50:52 +0000 (+0000) Subject: gss_krb5int_export_lucid_sec_context was erroneously copying the first X-Git-Tag: krb5-1.8-alpha1~475 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db;p=krb5.git 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 --- diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 32b0e13f7..ff8fe6e3f 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);