aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/files/patch-az
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-02-09 22:37:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-02-09 22:37:50 +0000
commit2ec13ccae9b17f2958afd2d64b59631ba961c1b4 (patch)
tree33195d9de0cd92ac6b012920b0ab31023f7d89c7 /security/openssh/files/patch-az
parentff2892dc21be127d4ab1e5d3ea9aadd6a25616cb (diff)
Add patch to deal with possible remote root exploit found by
Michal Zalewski of the Bindview RAZOR Team, and some patches to hopefully deal with compilation on older versions of FreeBSD. Submitted by: alfred
Diffstat (limited to 'security/openssh/files/patch-az')
-rw-r--r--security/openssh/files/patch-az11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/openssh/files/patch-az b/security/openssh/files/patch-az
new file mode 100644
index 000000000000..ee3b06692feb
--- /dev/null
+++ b/security/openssh/files/patch-az
@@ -0,0 +1,11 @@
+--- /home/bright/ssh/ssh/deattack.c Fri Aug 18 19:17:12 2000
++++ deattack.c Fri Feb 9 10:58:54 2001
+@@ -84,7 +84,7 @@
+ detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV)
+ {
+ static u_int16_t *h = (u_int16_t *) NULL;
+- static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
++ static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
+ register u_int32_t i, j;
+ u_int32_t l;
+ register unsigned char *c;