diff options
| author | CHOI Junho <cjh@FreeBSD.org> | 2000-12-24 14:29:41 +0000 |
|---|---|---|
| committer | CHOI Junho <cjh@FreeBSD.org> | 2000-12-24 14:29:41 +0000 |
| commit | 0b3961913cddc5b7db8473f27a551fe04e6a1925 (patch) | |
| tree | 1a56c83bebc89dfb463becd07d53cfa6526e8463 /korean/bitchx/files/patch-al | |
| parent | 8c3b51780d45dbaae0cd522e9239adb3737940f4 (diff) | |
Security fix.
PR: ports/23703
Submitted by: maintainer
Diffstat (limited to 'korean/bitchx/files/patch-al')
| -rw-r--r-- | korean/bitchx/files/patch-al | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/korean/bitchx/files/patch-al b/korean/bitchx/files/patch-al new file mode 100644 index 000000000000..e6d0d059827e --- /dev/null +++ b/korean/bitchx/files/patch-al @@ -0,0 +1,19 @@ +--- source/misc.c.orig Tue Jul 4 18:01:52 2000 ++++ source/misc.c Thu Dec 21 11:03:09 2000 +@@ -2427,6 +2427,8 @@ + switch(type) + { + case T_A : ++ if (dlen != sizeof(struct in_addr)) ++ return 0; + rptr->re_he.h_length = dlen; + if (ans == 1) + rptr->re_he.h_addrtype=(class == C_IN) ? +@@ -2473,6 +2475,7 @@ + *alias = NULL; + break; + default : ++ cp += dlen ; + break; + } + } |
