diff options
author | wiz <wiz@pkgsrc.org> | 2000-12-16 14:02:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-12-16 14:02:48 +0000 |
commit | 1a73c1b88f7f80f599cfbcfb16ff8b535eeddb48 (patch) | |
tree | d30892c0fabe1224941a9d13e241b381db4c2166 /chat/bitchx/patches | |
parent | 1a84da5cc1d88af886325f1b8a2a29d9fdeb6e27 (diff) | |
download | pkgsrc-1a73c1b88f7f80f599cfbcfb16ff8b535eeddb48.tar.gz |
Add patch against security problem, closing pkg/11750 by Jared McNeill.
See http://www.securityfocus.com/archive/1/149465 and
http://www.securityfocus.com/archive/1/149471.
Bump version to 1.0.3.17nb1.
Diffstat (limited to 'chat/bitchx/patches')
-rw-r--r-- | chat/bitchx/patches/patch-ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chat/bitchx/patches/patch-ac b/chat/bitchx/patches/patch-ac new file mode 100644 index 00000000000..de0485eb7a4 --- /dev/null +++ b/chat/bitchx/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1 2000/12/16 14:02:48 wiz Exp $ + +--- source/misc.c.orig Tue Aug 29 09:19:23 2000 ++++ source/misc.c +@@ -2641,6 +2641,11 @@ + switch(type) + { + case T_A : ++ if (dlen != sizeof(struct in_addr)) ++ { ++ cp += dlen; ++ break; ++ } + rptr->re_he.h_length = dlen; + if (ans == 1) + rptr->re_he.h_addrtype=(class == C_IN) ? +@@ -2687,6 +2692,7 @@ + *alias = NULL; + break; + default : ++ cp += dlen; + break; + } + } |