aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/files')
-rw-r--r--security/krb5/files/patch-kdc::kdc_preauth.c16
-rw-r--r--security/krb5/files/patch-lib::rpc::xdr_array.c20
2 files changed, 0 insertions, 36 deletions
diff --git a/security/krb5/files/patch-kdc::kdc_preauth.c b/security/krb5/files/patch-kdc::kdc_preauth.c
deleted file mode 100644
index 4e84ee941e85..000000000000
--- a/security/krb5/files/patch-kdc::kdc_preauth.c
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: kdc/kdc_preauth.c
-=====================================================================
-RCS file: /cvs/krbdev/krb5/src/kdc/kdc_preauth.c,v
-retrieving revision 5.30
-diff -u -r5.30 kdc_preauth.c
---- kdc/kdc_preauth.c 2001/06/21 13:46:15 5.30
-+++ kdc/kdc_preauth.c 2002/06/24 22:28:01
-@@ -543,7 +543,7 @@
- while (1) {
- retval = krb5_dbe_search_enctype(context, client, &start, -1,
- -1, 0, &client_key);
-- if (retval == ENOENT)
-+ if (retval == KRB5_KDB_NO_MATCHING_KEY)
- break;
- if (retval)
- goto cleanup;
diff --git a/security/krb5/files/patch-lib::rpc::xdr_array.c b/security/krb5/files/patch-lib::rpc::xdr_array.c
deleted file mode 100644
index be9be37eada6..000000000000
--- a/security/krb5/files/patch-lib::rpc::xdr_array.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/rpc/xdr_array.c.orig Fri Feb 13 20:27:23 1998
-+++ lib/rpc/xdr_array.c Fri Aug 2 13:03:55 2002
-@@ -40,6 +40,7 @@
- * arrays. See xdr.h for more info on the interface to xdr.
- */
-
-+#include <limits.h>
- #include <stdio.h>
-
- #include <gssrpc/types.h>
-@@ -75,7 +76,8 @@
- return (FALSE);
- }
- c = *sizep;
-- if ((c > maxsize) && (xdrs->x_op != XDR_FREE)) {
-+ if ((c > maxsize || UINT_MAX/elsize < c) &&
-+ (xdrs->x_op != XDR_FREE)) {
- return (FALSE);
- }
- nodesize = c * elsize;