diff options
author | wiz <wiz> | 2000-12-16 14:02:48 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-16 14:02:48 +0000 |
commit | 315211d9b3284013ee5c1bcd554a5762f069473a (patch) | |
tree | d30892c0fabe1224941a9d13e241b381db4c2166 /chat/bitchx/patches | |
parent | 98ae4c8d6183c5e5029b775998b3639382b6f27c (diff) | |
download | pkgsrc-315211d9b3284013ee5c1bcd554a5762f069473a.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; + } + } |