From 5fdc0da7470386d0560d5f275ee93d41701bb147 Mon Sep 17 00:00:00 2001 From: is Date: Tue, 13 Feb 2001 12:29:05 +0000 Subject: Use 32bit instead of 16 bit variable to avoid overflow. --- security/ssh/files/patch-sum | 3 ++- security/ssh/patches/patch-ca | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 security/ssh/patches/patch-ca (limited to 'security/ssh') diff --git a/security/ssh/files/patch-sum b/security/ssh/files/patch-sum index ab81e7792cb..d2840ad491a 100644 --- a/security/ssh/files/patch-sum +++ b/security/ssh/files/patch-sum @@ -1,4 +1,4 @@ -# $NetBSD: patch-sum,v 1.22 2000/10/19 02:02:57 hubertf Exp $ +# $NetBSD: patch-sum,v 1.23 2001/02/13 12:29:05 is Exp $ MD5 (patch-aa) = 39a4c82d2b89aae61df69a50f7aaa813 MD5 (patch-ab) = 14aab959d372b529a72ef5770aae9b27 @@ -37,4 +37,5 @@ MD5 (patch-bk) = e1d08202e611aa0ca82b6330af862c77 MD5 (patch-bl) = 82a4d98c20e38fa515e94df98d99104b MD5 (patch-bn) = b952c31778b8d95772234c21c1ede892 MD5 (patch-br) = 73c8bfe4215d67e9803b338cc5169b1f +MD5 (patch-ca) = 327e177c9eaa6c6e568dae98bbd086ff MD5 (patch-la) = 991af4529826b25ae727615ce835f51d diff --git a/security/ssh/patches/patch-ca b/security/ssh/patches/patch-ca new file mode 100644 index 00000000000..14397c74d2a --- /dev/null +++ b/security/ssh/patches/patch-ca @@ -0,0 +1,11 @@ +--- 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; -- cgit v1.2.3