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. https://github.com/krb5/krb5/commit/97ab8ebd3d26e279ffc92a58b59a3ff6c85c67db Commit By: ghudson Revision: 22351 Changed Files: U trunk/src/lib/gssapi/krb5/lucid_context.c