From 6fcc9f49221c16ddffa309d09a577b3b9acd35a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 16 Oct 2005 10:42:17 +0000 Subject: [PATCH] Specify that krb5_unparse_name sets name to NULL on failure. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16178 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_principal.3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/krb5/krb5_principal.3 b/lib/krb5/krb5_principal.3 index fce6c2d11..38cdfe91d 100644 --- a/lib/krb5/krb5_principal.3 +++ b/lib/krb5/krb5_principal.3 @@ -147,6 +147,10 @@ to the string .Fa name should be freed with .Xr free 3 . +On failure +.Fa name +is set to +.Dv NULL . .Fn krb5_unparse_name_fixed behaves just like .Fn krb5_unparse ,