summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-05-14 16:50:52 +0000
committerGreg Hudson <ghudson@mit.edu>2009-05-14 16:50:52 +0000
commit97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db (patch)
treef375460901b0a4931a431d5ed2311ace37e53a1c /src
parentee699ef91ba36719e50ce9dc5d54dd3896740917 (diff)
downloadkrb5-97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db.tar.gz
krb5-97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db.tar.xz
krb5-97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/krb5/lucid_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c
index 32b0e13f72..ff8fe6e3f5 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);