diff options
Diffstat (limited to 'chat/eggdrop/patches/patch-am')
-rw-r--r-- | chat/eggdrop/patches/patch-am | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chat/eggdrop/patches/patch-am b/chat/eggdrop/patches/patch-am deleted file mode 100644 index 3819790b763..00000000000 --- a/chat/eggdrop/patches/patch-am +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-am,v 1.2 2007/10/18 09:15:34 obache Exp $ - -Fix for http://www.eggheads.org/bugzilla/show_bug.cgi?id=462 - ---- src/mod/server.mod/servmsg.c.orig 2006-03-28 02:35:51.000000000 +0000 -+++ src/mod/server.mod/servmsg.c -@@ -461,7 +461,8 @@ static int gotmsg(char *from, char *msg) - to = newsplit(&msg); - fixcolon(msg); - /* Only check if flood-ctcp is active */ -- strcpy(uhost, from); -+ strncpy(uhost, from, UHOSTMAX); -+ uhost[UHOSTMAX] = '\0'; - nick = splitnick(&uhost); - if (flud_ctcp_thr && detect_avalanche(msg)) { - if (!ignoring) { |