From owner-freebsd-audit Fri Aug 4 21:41:51 2000 Delivered-To: freebsd-audit@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C22C537B793; Fri, 4 Aug 2000 21:41:47 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA76318; Fri, 4 Aug 2000 22:41:46 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA14686; Fri, 4 Aug 2000 22:41:37 -0600 (MDT) Message-Id: <200008050441.WAA14686@harmony.village.org> To: Kris Kennaway Subject: Re: strncpy bugs Cc: Garance A Drosihn , Kris Kennaway , audit@FreeBSD.ORG In-reply-to: Your message of "Fri, 04 Aug 2000 20:28:14 PDT." References: Date: Fri, 04 Aug 2000 22:41:37 -0600 From: Warner Losh Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Kris Kennaway writes: : strlcpy is definitely easier to use correctly. However, it's probably not : worthwhile replacing correct strncpy usage in most instances. Long term it likely is. Short term, or doing it in a rush will lead to either more errors than before, or to propigation of errors that are in the existing code. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message