summaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-deattack.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-09-26 18:13:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-09-26 18:13:52 +0000
commit67cde0f8e7510ac2a684a418b1ff46fd779532f9 (patch)
treef9b3ebfc159c1e8d48f0f8ae91cab99a86d87dd3 /security/openssh-portable/files/patch-deattack.c
parentAdd wv2, a library providing routines to access Microsoft Word/Excel files. (diff)
- update to 3.7.1p2
more regressions tests successfull
Diffstat (limited to 'security/openssh-portable/files/patch-deattack.c')
-rw-r--r--security/openssh-portable/files/patch-deattack.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/security/openssh-portable/files/patch-deattack.c b/security/openssh-portable/files/patch-deattack.c
deleted file mode 100644
index 987f1d2f959b..000000000000
--- a/security/openssh-portable/files/patch-deattack.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- deattack.c Tue Mar 5 01:53:05 2002
-+++ deattack.c Wed Sep 17 00:18:30 2003
-@@ -100,12 +100,12 @@ detect_attack(u_char *buf, u_int32_t len
-
- if (h == NULL) {
- debug("Installing crc compensation attack detector.");
-+ h = (u_int16_t *) xmalloc(l * HASH_ENTRYSIZE);
- n = l;
-- h = (u_int16_t *) xmalloc(n * HASH_ENTRYSIZE);
- } else {
- if (l > n) {
-+ h = (u_int16_t *) xrealloc(h, l * HASH_ENTRYSIZE);
- n = l;
-- h = (u_int16_t *) xrealloc(h, n * HASH_ENTRYSIZE);
- }
- }
-