summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/gss_export_name.c
diff options
context:
space:
mode:
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