svn rev #22351: trunk/src/lib/gssapi/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu May 14 12:50:52 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22351
Commit By: ghudson
Log Message:
ticket: 6488
status: open
tags: pullup
target_version: 1.7

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.



Changed Files:
U   trunk/src/lib/gssapi/krb5/lucid_context.c
Modified: trunk/src/lib/gssapi/krb5/lucid_context.c
===================================================================
--- trunk/src/lib/gssapi/krb5/lucid_context.c	2009-05-14 16:16:32 UTC (rev 22350)
+++ trunk/src/lib/gssapi/krb5/lucid_context.c	2009-05-14 16:50:52 UTC (rev 22351)
@@ -107,7 +107,7 @@
         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);




More information about the cvs-krb5 mailing list