diff options
author | Robbie Harwood (frozencemetery) <rharwood@redhat.com> | 2015-09-23 19:43:55 +0000 |
---|---|---|
committer | Robbie Harwood (frozencemetery) <rharwood@redhat.com> | 2015-09-24 17:57:53 +0000 |
commit | 11389918936e78505288c4f1164ea2be933150d5 (patch) | |
tree | 3c79d519cb6e235292bd56d8af1db472b442688c /krb5-1.12-api.patch | |
parent | a328acab1bac263ca71b0399342fd4c79f294f87 (diff) | |
download | krb5-11389918936e78505288c4f1164ea2be933150d5.tar.gz krb5-11389918936e78505288c4f1164ea2be933150d5.tar.xz krb5-11389918936e78505288c4f1164ea2be933150d5.zip |
New upstream version: krb5-1.14-alpha1
Drop patches that have since been applied. Create new patches as
needed.
Diffstat (limited to 'krb5-1.12-api.patch')
-rw-r--r-- | krb5-1.12-api.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/krb5-1.12-api.patch b/krb5-1.12-api.patch deleted file mode 100644 index f5432a3..0000000 --- a/krb5-1.12-api.patch +++ /dev/null @@ -1,27 +0,0 @@ -Reference docs don't define what happens if you call krb5_realm_compare() with -malformed krb5_principal structures. Define a behavior which keeps it from -crashing if applications don't check ahead of time. - ---- krb5/src/lib/krb5/krb/princ_comp.c -+++ krb5/src/lib/krb5/krb/princ_comp.c -@@ -41,6 +41,10 @@ realm_compare_flags(krb5_context context - const krb5_data *realm1 = &princ1->realm; - const krb5_data *realm2 = &princ2->realm; - -+ if (princ1 == NULL || princ2 == NULL) -+ return FALSE; -+ if (realm1 == NULL || realm2 == NULL) -+ return FALSE; - if (realm1->length != realm2->length) - return FALSE; - if (realm1->length == 0) -@@ -92,6 +98,9 @@ krb5_principal_compare_flags(krb5_contex - krb5_principal upn2 = NULL; - krb5_boolean ret = FALSE; - -+ if (princ1 == NULL || princ2 == NULL) -+ return FALSE; -+ - if (flags & KRB5_PRINCIPAL_COMPARE_ENTERPRISE) { - /* Treat UPNs as if they were real principals */ - if (princ1->type == KRB5_NT_ENTERPRISE_PRINCIPAL) { |