svn commit: r184855 - user/dfr/gssapi/6/usr.sbin/gssd

Doug Rabson dfr at FreeBSD.org
Tue Nov 11 09:51:39 PST 2008


Author: dfr
Date: Tue Nov 11 17:51:38 2008
New Revision: 184855
URL: http://svn.freebsd.org/changeset/base/184855

Log:
  Work around a bug in heimdal 0.6 where it fails to properly initialise the
  value of delegated_cred_handle.

Modified:
  user/dfr/gssapi/6/usr.sbin/gssd/gssd.c

Modified: user/dfr/gssapi/6/usr.sbin/gssd/gssd.c
==============================================================================
--- user/dfr/gssapi/6/usr.sbin/gssd/gssd.c	Tue Nov 11 17:15:57 2008	(r184854)
+++ user/dfr/gssapi/6/usr.sbin/gssd/gssd.c	Tue Nov 11 17:51:38 2008	(r184855)
@@ -316,6 +316,7 @@ gssd_accept_sec_context_1_svc(accept_sec
 	}
 
 	memset(result, 0, sizeof(*result));
+	delegated_cred_handle = GSS_C_NO_CREDENTIAL;
 	result->major_status = gss_accept_sec_context(&result->minor_status,
 	    &ctx, cred, &argp->input_token, argp->input_chan_bindings,
 	    &src_name, &result->mech_type, &result->output_token,


More information about the svn-src-user mailing list