25078397 krb5 patch needs a rename
authorWill Fiveash <will.fiveash@oracle.com>
Thu, 10 Nov 2016 13:37:31 -0600
changeset 7290 b85511c8850f
parent 7288 6fa98a77f4d9
child 7291 30f79f6e5421
25078397 krb5 patch needs a rename
components/krb5/patches/075-24751636.patch
components/krb5/patches/076-24751636.patch
--- a/components/krb5/patches/075-24751636.patch	Wed Nov 09 17:37:22 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Patch to fix a parfait complaint about use of unitilized variables (see bug
-# 24751636).  I have submitted a bug ticket to MIT (see 8501 Potential use of
-# uninitialized variable in kdc/main.c) but in the meantime we will patch this.
-#
-# Patch source: in-house
-#
-
---- a/src/kdc/main.c
-+++ b/src/kdc/main.c
[email protected]@ -656,6 +656,9 @@ initialize_realms(krb5_context kcontext, int argc, char **argv)
-         hierarchy[1] = KRB5_CONF_HOST_BASED_SERVICES;
-         if (krb5_aprof_get_string_all(aprof, hierarchy, &hostbased))
-             hostbased = 0;
-+    } else {
-+        fprintf(stderr, _("KDC cannot initialize. Cannot get profile.\n"));
-+        exit(1);
-     }
- 
-     if (default_udp_ports == 0) {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/krb5/patches/076-24751636.patch	Thu Nov 10 13:37:31 2016 -0600
@@ -0,0 +1,20 @@
+#
+# Patch to fix a parfait complaint about use of unitilized variables (see bug
+# 24751636).  I have submitted a bug ticket to MIT (see 8501 Potential use of
+# uninitialized variable in kdc/main.c) but in the meantime we will patch this.
+#
+# Patch source: in-house
+#
+
+--- a/src/kdc/main.c
++++ b/src/kdc/main.c
[email protected]@ -656,6 +656,9 @@ initialize_realms(krb5_context kcontext, int argc, char **argv)
+         hierarchy[1] = KRB5_CONF_HOST_BASED_SERVICES;
+         if (krb5_aprof_get_string_all(aprof, hierarchy, &hostbased))
+             hostbased = 0;
++    } else {
++        fprintf(stderr, _("KDC cannot initialize. Cannot get profile.\n"));
++        exit(1);
+     }
+ 
+     if (default_udp_ports == 0) {