--- servmsg.c 2006-03-28 04:35:51.000000000 +0200 +++ servmsg.c.new 2007-07-23 22:30:57.000000000 +0200 @@ -461,7 +461,7 @@ 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, UHOSTLEN); nick = splitnick(&uhost); if (flud_ctcp_thr && detect_avalanche(msg)) { if (!ignoring) {