From owner-freebsd-audit Fri Dec 3 21:55:20 1999 Delivered-To: freebsd-audit@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 4FA941533D; Fri, 3 Dec 1999 21:55:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 432671CD7EE for ; Fri, 3 Dec 1999 21:55:13 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Fri, 3 Dec 1999 21:55:13 -0800 (PST) From: Kris Kennaway To: audit@freebsd.org Subject: Re: Buffer overflows in libc (yp) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 3 Dec 1999, Kris Kennaway wrote: > - strcpy(ysd->dom_domain, dom); > + strlcpy(ysd->dom_domain, dom, sizeof(ysd->dom_domain)-1); This shouldn't have the -1 at the end (this got by me, oops). Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message