From owner-freebsd-audit Wed Jul 18 11:53:48 2001 Delivered-To: freebsd-audit@freebsd.org Received: from Veronica.wmol.com (veronica.wmol.com [208.242.83.241]) by hub.freebsd.org (Postfix) with ESMTP id 3FBB737B401 for ; Wed, 18 Jul 2001 11:53:46 -0700 (PDT) (envelope-from david@phobia.ms) Received: from rain.hill.hom (081bc122.chartermi.net [24.247.81.122]) by Veronica.wmol.com (Vircom SMTPRS 4.6.189) with ESMTP id for ; Wed, 18 Jul 2001 14:51:12 -0400 Date: Wed, 18 Jul 2001 14:52:58 -0400 From: David Hill To: audit@freebsd.org Subject: strlcpy patches Message-Id: <20010718145258.1d829df6.david@phobia.ms> X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.10; i386-unknown-freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings. I have patched some source files replacing: strncpy(dst, src, sizeof(dst) - 1); dst[sizeof(dst)-1] = '\0'; with strlcpy(dst, src, sizeof dst); They are located at http://www.phobia.ms/patches What are your thoughts? Thanks - David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message