summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-08-02 21:02:07 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-08-02 21:02:07 +0000
commit28dad2a0b935e401d2e5399ff6a2a4954af43726 (patch)
tree1fba83d467f8d73666b41530f72b2829384a636e /app-crypt/krb5
parentadded failsafe to patch lines (diff)
downloadgentoo-2-28dad2a0b935e401d2e5399ff6a2a4954af43726.tar.gz
gentoo-2-28dad2a0b935e401d2e5399ff6a2a4954af43726.tar.bz2
gentoo-2-28dad2a0b935e401d2e5399ff6a2a4954af43726.zip
Missing patch
Diffstat (limited to 'app-crypt/krb5')
-rw-r--r--app-crypt/krb5/files/krb5-1.2.5-r2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-crypt/krb5/files/krb5-1.2.5-r2.patch b/app-crypt/krb5/files/krb5-1.2.5-r2.patch
new file mode 100644
index 000000000000..b21b83e881bd
--- /dev/null
+++ b/app-crypt/krb5/files/krb5-1.2.5-r2.patch
@@ -0,0 +1,25 @@
+Index: xdr_array.c
+===================================================================
+RCS file: /cvs/krbdev/krb5/src/lib/rpc/xdr_array.c,v
+retrieving revision 1.5
+diff -c -r1.5 xdr_array.c
+*** xdr_array.c 1998/02/14 02:27:23 1.5
+--- xdr_array.c 2002/08/02 17:25:05
+***************
+*** 75,81 ****
+ return (FALSE);
+ }
+ c = *sizep;
+! if ((c > maxsize) && (xdrs->x_op != XDR_FREE)) {
+ return (FALSE);
+ }
+ nodesize = c * elsize;
+--- 75,82 ----
+ return (FALSE);
+ }
+ c = *sizep;
+! if ((c > maxsize || c > LASTUNSIGNED / elsize)
+! && (xdrs->x_op != XDR_FREE)) {
+ return (FALSE);
+ }
+ nodesize = c * elsize;