summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2014-01-19 13:51:04 +0000
committerEray Aslan <eras@gentoo.org>2014-01-19 13:51:04 +0000
commitfc485371e760e69bd30535aaeb12fea328119c0d (patch)
treef5ed2fced82373b7c039236628e96772df5f5145 /app-crypt
parentbump for the 0.10 slot (diff)
downloadgentoo-2-fc485371e760e69bd30535aaeb12fea328119c0d.tar.gz
gentoo-2-fc485371e760e69bd30535aaeb12fea328119c0d.tar.bz2
gentoo-2-fc485371e760e69bd30535aaeb12fea328119c0d.zip
Add missing patch - bug #498508
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/mit-krb5/ChangeLog6
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch55
2 files changed, 60 insertions, 1 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog
index 7b7ea7747947..9cf037f4234d 100644
--- a/app-crypt/mit-krb5/ChangeLog
+++ b/app-crypt/mit-krb5/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/mit-krb5
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.395 2014/01/18 21:08:09 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.396 2014/01/19 13:51:04 eras Exp $
+
+ 19 Jan 2014; Eray Aslan <eras@gentoo.org>
+ +files/mit-krb5-1.12_uninitialized.patch:
+ Add missing patch - bug #498508
*mit-krb5-1.12.1 (18 Jan 2014)
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch b/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch
new file mode 100644
index 000000000000..e6d1921dc008
--- /dev/null
+++ b/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch
@@ -0,0 +1,55 @@
+--- a/src/slave/kprop.c
++++ b/src/slave/kprop.c
+@@ -91,7 +91,7 @@ main(argc, argv)
+ int argc;
+ char **argv;
+ {
+- int fd, database_fd, database_size;
++ int fd = -1, database_fd, database_size;
+ krb5_error_code retval;
+ krb5_context context;
+ krb5_creds *my_creds;
+--- a/src/kadmin/ktutil/ktutil_funcs.c
++++ b/src/kadmin/ktutil/ktutil_funcs.c
+@@ -64,7 +64,7 @@
+ krb5_kt_list *list;
+ int idx;
+ {
+- krb5_kt_list lp, prev;
++ krb5_kt_list lp, prev = NULL;
+ int i;
+
+ for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
+--- a/src/lib/kadm5/alt_prof.c
++++ b/src/lib/kadm5/alt_prof.c
+@@ -164,7 +164,7 @@
+ char **values;
+ char *valp;
+ int idx;
+- krb5_boolean val;
++ krb5_boolean val = 0;
+
+ kret = krb5_aprof_getvals (acontext, hierarchy, &values);
+ if (kret)
+
+--- a/src/util/profile/prof_init.c
++++ b/src/util/profile/prof_init.c
+@@ -255,7 +255,7 @@ copy_vtable_profile(profile_t profile, profile_t *ret_new_profile)
+ {
+ errcode_t err;
+ void *cbdata;
+- profile_t new_profile;
++ profile_t new_profile = NULL;
+
+ *ret_new_profile = NULL;
+
+--- a/src/tests/asn.1/trval.c 2013-04-12 12:51:36.000000000 -0500
++++ b/src/tests/asn.1/trval.c 2013-05-24 04:31:14.077036380 -0500
+@@ -404,7 +404,7 @@
+ {
+ int n;
+ int r = 0;
+- int rlen2;
++ int rlen2 = 0;
+ int rlent;
+ int save_appl;