summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/gss_export_name.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2007-06-30 07:47:45 +0000
committerdfr <dfr@FreeBSD.org>2007-06-30 07:47:45 +0000
commitc38fa0f103e8f34d337d3bf31003c1696179c54c (patch)
tree43e155259c3b6dda9ce39b2e454a8e8ef1282f3c /lib/libgssapi/gss_export_name.c
parentb4cb24ec70dd01020b996accd7f33061c726299d (diff)
downloadFreeBSD-src-c38fa0f103e8f34d337d3bf31003c1696179c54c.zip
FreeBSD-src-c38fa0f103e8f34d337d3bf31003c1696179c54c.tar.gz
Merge fixes back from heimdal.
Approved by: re (kensmith)
Diffstat (limited to 'lib/libgssapi/gss_export_name.c')
-rw-r--r--lib/libgssapi/gss_export_name.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libgssapi/gss_export_name.c b/lib/libgssapi/gss_export_name.c
index f504333..6cba2f8 100644
--- a/lib/libgssapi/gss_export_name.c
+++ b/lib/libgssapi/gss_export_name.c
@@ -39,6 +39,9 @@ gss_export_name(OM_uint32 *minor_status,
struct _gss_name *name = (struct _gss_name *) input_name;
struct _gss_mechanism_name *mn;
+ exported_name->value = NULL;
+ exported_name->length = 0;
+
/*
* If this name already has any attached MNs, export the first
* one, otherwise export based on the first mechanism in our
OpenPOWER on IntegriCloud