Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 1999 21:55:13 -0800 (PST)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        audit@freebsd.org
Subject:   Re: Buffer overflows in libc (yp)
Message-ID:  <Pine.BSF.4.21.9912032154170.23092-100000@hub.freebsd.org>
In-Reply-To: <Pine.BSF.4.21.9912032127370.19005-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912032154170.23092-100000>