diff options
author | is <is> | 2001-02-13 12:29:05 +0000 |
---|---|---|
committer | is <is> | 2001-02-13 12:29:05 +0000 |
commit | 5fdc0da7470386d0560d5f275ee93d41701bb147 (patch) | |
tree | 886e7baac91cae144eeb5872445653af9f86dc76 /security | |
parent | ad8bb1d399ddd83984c31bc392e091576fdc864b (diff) | |
download | pkgsrc-5fdc0da7470386d0560d5f275ee93d41701bb147.tar.gz |
Use 32bit instead of 16 bit variable to avoid overflow.
Diffstat (limited to 'security')
-rw-r--r-- | security/ssh/files/patch-sum | 3 | ||||
-rw-r--r-- | security/ssh/patches/patch-ca | 11 | ||||
-rw-r--r-- | security/ssh6/files/patch-sum | 3 | ||||
-rw-r--r-- | security/ssh6/patches/patch-ca | 13 |
4 files changed, 28 insertions, 2 deletions
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; 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; |