summaryrefslogtreecommitdiff
path: root/security/ssh6
diff options
context:
space:
mode:
authoris <is>2001-02-13 12:29:05 +0000
committeris <is>2001-02-13 12:29:05 +0000
commit09ea2750413a0d48d617ebfedc46a1378e3f1300 (patch)
tree886e7baac91cae144eeb5872445653af9f86dc76 /security/ssh6
parent6140d32dbbb27acc6b3a6e7035f9c7880653b6b5 (diff)
downloadpkgsrc-09ea2750413a0d48d617ebfedc46a1378e3f1300.tar.gz
Use 32bit instead of 16 bit variable to avoid overflow.
Diffstat (limited to 'security/ssh6')
-rw-r--r--security/ssh6/files/patch-sum3
-rw-r--r--security/ssh6/patches/patch-ca13
2 files changed, 15 insertions, 1 deletions
diff --git a/security/ssh6/files/patch-sum b/security/ssh6/files/patch-sum
index f3214f94cec..5c7350f6d99 100644
--- a/security/ssh6/files/patch-sum
+++ b/security/ssh6/files/patch-sum
@@ -1,4 +1,4 @@
-# $NetBSD: patch-sum,v 1.2 2000/04/23 19:17:29 thorpej Exp $
+# $NetBSD: patch-sum,v 1.3 2001/02/13 12:29:06 is Exp $
MD5 (patch-aa) = 39a4c82d2b89aae61df69a50f7aaa813
MD5 (patch-ab) = 36dc0eb7feba0554674242b39082a09b
@@ -43,4 +43,5 @@ MD5 (patch-bo) = 9db4ecae0a7bd795d9eeefb7c3386f73
MD5 (patch-bp) = b519463adf568f2ca2f6720a2055289e
MD5 (patch-bq) = 2ac652937d1957d3d1d050516938c76c
MD5 (patch-br) = 73c8bfe4215d67e9803b338cc5169b1f
+MD5 (patch-ca) = ff0e0776bee7b46db68894b54e30d0eb
MD5 (patch-la) = 3584ccc61783fe0758d82b5ab82a658e
diff --git a/security/ssh6/patches/patch-ca b/security/ssh6/patches/patch-ca
new file mode 100644
index 00000000000..b865b7387dd
--- /dev/null
+++ b/security/ssh6/patches/patch-ca
@@ -0,0 +1,13 @@
+$NetBSD: patch-ca,v 1.1 2001/02/13 12:29:06 is Exp $
+
+--- deattack.c.orig Wed May 12 13:19:25 1999
++++ deattack.c Tue Feb 13 11:23:07 2001
+@@ -79,7 +79,7 @@
+ detect_attack(unsigned char *buf, word32 len, unsigned char *IV)
+ {
+ static word16 *h = (word16 *) NULL;
+- static word16 n = HASH_MINSIZE / HASH_ENTRYSIZE;
++ static word32 n = HASH_MINSIZE / HASH_ENTRYSIZE;
+ register word32 i, j;
+ word32 l;
+ register unsigned char *c;