summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/conv_princ.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-08-27 23:01:56 +0000
committerKen Raeburn <raeburn@mit.edu>2004-08-27 23:01:56 +0000
commit8eed0d0aef3d03f247def819ca1eb23bddf767e1 (patch)
treed5729de3a343feebaa7dd52af3363c64fd95f1fe /src/lib/krb5/krb/conv_princ.c
parent6fcba05976f7e6eb2518f715be68d48fa680bf34 (diff)
downloadkrb5-8eed0d0aef3d03f247def819ca1eb23bddf767e1.tar.gz
krb5-8eed0d0aef3d03f247def819ca1eb23bddf767e1.tar.xz
krb5-8eed0d0aef3d03f247def819ca1eb23bddf767e1.zip
Finally applied patch from Nalin Dahyabhai at Red Hat to fix 0/NULL bugs in
variadic argument lists to krb5_build_principal{,_ext}. Skipped the stylistic patches that removed casts of NULL. tag: 1850 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16693 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/conv_princ.c')
-rw-r--r--src/lib/krb5/krb/conv_princ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c
index 6134baa0a2..885dc995ad 100644
--- a/src/lib/krb5/krb/conv_princ.c
+++ b/src/lib/krb5/krb/conv_princ.c
@@ -342,7 +342,7 @@ krb5_425_conv_principal(krb5_context context, const char *name, const char *inst
not_service:
retval = krb5_build_principal(context, princ, strlen(realm), realm, name,
- instance, 0);
+ instance, NULL);
if (iterator) profile_iterator_free (&iterator);
if (full_name) profile_free_list(full_name);
if (v4realms) profile_free_list(v4realms);