aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx/files/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bitchx/files/patch-al')
-rw-r--r--irc/bitchx/files/patch-al23
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/bitchx/files/patch-al b/irc/bitchx/files/patch-al
new file mode 100644
index 000000000000..40d81cb07614
--- /dev/null
+++ b/irc/bitchx/files/patch-al
@@ -0,0 +1,23 @@
+*** source/misc.c~ Fri Sep 1 23:08:52 2000
+--- source/misc.c Fri Dec 8 10:52:56 2000
+***************
+*** 2641,2646 ****
+--- 2641,2648 ----
+ 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) ?
+***************
+*** 2687,2692 ****
+--- 2689,2695 ----
+ *alias = NULL;
+ break;
+ default :
++ cp += dlen;
+ break;
+ }
+ }