aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi/gss_export_name.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2007-06-30 07:47:45 +0000
committerDoug Rabson <dfr@FreeBSD.org>2007-06-30 07:47:45 +0000
commit22a25490aba4355c2962110dda9d9d050359a597 (patch)
tree43e155259c3b6dda9ce39b2e454a8e8ef1282f3c /lib/libgssapi/gss_export_name.c
parent4b39fdb5e6224658bfe161af1f165128bb55786a (diff)
downloadsrc-22a25490aba4355c2962110dda9d9d050359a597.tar.gz
src-22a25490aba4355c2962110dda9d9d050359a597.zip
Merge fixes back from heimdal.
Approved by: re (kensmith)
Notes
Notes: svn path=/head/; revision=171112
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 f5043339dd89..6cba2f8c380b 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