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