$NetBSD: patch-ad,v 1.1 2004/05/07 17:47:32 abs Exp $ --- src/accept.c.orig Thu Apr 4 13:56:16 2002 +++ src/accept.c @@ -1895,7 +1895,7 @@ if (headers_check_syntax) char *verb = "is"; int len; - while (*t != ':') *tt++ = *t++; + while (*t != ':' && tt < &hname[sizeof(hname)-2]) *tt++ = *t++; *tt = 0; /* Arrange not to include any white space at the end in the