aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-06-20 06:49:29 +0200
committerGuido Günther <agx@sigxcpu.org>2014-06-20 06:49:29 +0200
commit750c510348f979f75a0b983f181b315a3e90fbe7 (patch)
tree81f451a5640b6cb78b83559ee49184ecf6d43596 /debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch
parentMerge tag 'upstream/3.12.0' (diff)
downloadkrb5-auth-dialog-750c510348f979f75a0b983f181b315a3e90fbe7.tar.gz
krb5-auth-dialog-750c510348f979f75a0b983f181b315a3e90fbe7.tar.bz2
krb5-auth-dialog-750c510348f979f75a0b983f181b315a3e90fbe7.zip
Remove patches
appplied upstream
Diffstat (limited to 'debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch')
-rw-r--r--debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch b/debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch
deleted file mode 100644
index 44dd70d..0000000
--- a/debian/patches/0001-krb5_principal_compare-crashes-on-NULL-arguments.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Petter Reinholdtsen <pere@hungry.com>
-Date: Thu, 4 Jul 2013 09:32:18 +0200
-Subject: krb5_principal_compare crashes on NULL arguments
-
-Debian Bug #714825
----
- src/ka-kerberos.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/ka-kerberos.c b/src/ka-kerberos.c
-index db5cddd..0867234 100644
---- a/src/ka-kerberos.c
-+++ b/src/ka-kerberos.c
-@@ -221,8 +221,10 @@ credentials_expiring_real (KaApplet *applet)
- }
-
- /* copy principal from cache if any */
-- if (krb5_principal_compare (kcontext, my_creds.client, kprincipal)) {
-- krb5_free_principal (kcontext, kprincipal);
-+ if (kprincipal == NULL ||
-+ krb5_principal_compare (kcontext, my_creds.client, kprincipal)) {
-+ if (kprincipal)
-+ krb5_free_principal (kcontext, kprincipal);
- krb5_copy_principal (kcontext, my_creds.client, &kprincipal);
- }
- creds_expiry = my_creds.times.endtime;
bgstack15