From: Tom Yu Date: Wed, 8 Nov 2006 23:44:27 +0000 (+0000) Subject: pull up r18751 from trunk X-Git-Tag: krb5-1.6-alpha1~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42bafd3e6a50b40a6c50c7a06cc2bfe1fa7097c1;p=krb5.git pull up r18751 from trunk r18751@cathode-dark-space: raeburn | 2006-10-30 20:10:34 -0500 ticket: 4534 * conv_princ.c (krb5_425_conv_principal): Fix silly typo in arrays' sizes in previous change. ticket: 4534 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18773 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index 5648b28f7..b0abae360 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -246,14 +246,16 @@ krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, } krb5_error_code KRB5_CALLCONV -krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) +krb5_425_conv_principal(krb5_context context, const char *name, + const char *instance, const char *realm, + krb5_principal *princ) { const struct krb_convert *p; char buf[256]; /* V4 instances are limited to 40 characters */ krb5_error_code retval; char *domain, *cp; char **full_name = 0; - const char *names[2], *names2[5]; + const char *names[5], *names2[2]; void* iterator = NULL; char** v4realms = NULL; char* realm_name = NULL;