+++ /dev/null
---- eggdrop/src~/mod/server.mod/servmsg.c 2007-08-12 16:39:34.000000000 +0200
-+++ eggdrop/src/mod/server.mod/servmsg.c 2007-08-12 16:39:52.000000000 +0200
-@@ -461,7 +461,8 @@
- to = newsplit(&msg);
- fixcolon(msg);
- /* Only check if flood-ctcp is active */
-- strcpy(uhost, from);
-+ strncpy(uhost, from, sizeof(buf));
-+ buf[sizeof(buf) - 1] = '\0';
- nick = splitnick(&uhost);
- if (flud_ctcp_thr && detect_avalanche(msg)) {
- if (!ignoring) {
-@@ -471,7 +472,7 @@
- p++;
- else
- p = uhost;
-- simple_sprintf(ctcpbuf, "*!*@%s", p);
-+ snprintf(ctcpbuf, sizeof(ctcpbuf), "*!*@%s", p);
- addignore(ctcpbuf, botnetnick, "ctcp avalanche",
- now + (60 * ignore_time));
- }
-@@ -486,8 +487,12 @@
- p++;
- if (*p == 1) {
- *p = 0;
-- ctcp = strcpy(ctcpbuf, p1);
-- strcpy(p1 - 1, p + 1);
-+ ctcp = strncpy(ctcpbuf, p1, sizeof(ctcpbuf));
-+ ctcpbuf[sizeof(ctcpbuf) - 1] = '\0';
-+ /* copy the part after the second : in front of it after
-+ * the first :, this is temporary copied to ctcpbuf */
-+ strncpy(p1 - 1, p + 1, strlen(ctcpbuf) - 1);
-+
- if (!ignoring)
- detect_flood(nick, uhost, from,
- strncmp(ctcp, "ACTION ", 7) ? FLOOD_CTCP : FLOOD_PRIVMSG);
+++ /dev/null
-diff -burN eggdrop1.6.17.orig/configure.ac eggdrop1.6.17/configure.ac
---- eggdrop1.6.17.orig/configure.ac 2004-10-18 00:15:56.809952112 +0200
-+++ eggdrop1.6.17/configure.ac 2004-10-18 00:37:03.587372672 +0200
-@@ -108,7 +108,7 @@
- tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 tcl7.3 \
- tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70 tcl8.5 tcl85"
- tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .dll .dylib .a .sl"
--tcllibpaths="$HOME/lib $HOME/tcl/lib /usr/local/lib /usr/lib /lib \
-+tcllibpaths="$HOME/lib $HOME/tcl/lib /usr/local/lib /usr/lib /lib /usr/lib64 \
- /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.3 \
- /usr/lib/tcl8.4 /usr/lib/tcl8.3 \
- /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \