* conv_princ.c (krb5_425_conv_principal): Fix silly typo in arrays' sizes in
authorKen Raeburn <raeburn@mit.edu>
Tue, 31 Oct 2006 01:10:34 +0000 (01:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 31 Oct 2006 01:10:34 +0000 (01:10 +0000)
previous change.

ticket: 4534

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18751 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/conv_princ.c

index 5648b28f769eb5263d80ed46451437317da22f84..b0abae3606b5bb995ce8eaf657deed1d8c4fc27b 100644 (file)
@@ -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;