From owner-cvs-all Thu Oct 17 13: 3:50 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E75BB37B401; Thu, 17 Oct 2002 13:03:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D7143E3B; Thu, 17 Oct 2002 13:03:48 -0700 (PDT) (envelope-from robert@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9HK3dmV081706; Thu, 17 Oct 2002 13:03:39 -0700 (PDT) (envelope-from robert@repoman.freebsd.org) Received: (from robert@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9HK3dU8081705; Thu, 17 Oct 2002 13:03:39 -0700 (PDT) Message-Id: <200210172003.g9HK3dU8081705@repoman.freebsd.org> From: Robert Drehmel Date: Thu, 17 Oct 2002 13:03:39 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_elf.c init_main.c kern_environment.c kern_intr.c kern_jail.c kern_proc.c kern_sysctl.c kern_tc.c subr_devstat.c subr_diskslice.c tty_cons.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG robert 2002/10/17 13:03:39 PDT Modified files: sys/kern imgact_elf.c init_main.c kern_environment.c kern_intr.c kern_jail.c kern_proc.c kern_sysctl.c kern_tc.c subr_devstat.c subr_diskslice.c tty_cons.c Log: Use strlcpy() instead of strncpy() to copy NUL terminated strings for safety and consistency. Revision Changes Path 1.129 +2 -2 src/sys/kern/imgact_elf.c 1.214 +1 -2 src/sys/kern/init_main.c 1.25 +1 -2 src/sys/kern/kern_environment.c 1.84 +2 -1 src/sys/kern/kern_intr.c 1.26 +2 -3 src/sys/kern/kern_jail.c 1.163 +8 -8 src/sys/kern/kern_proc.c 1.133 +3 -2 src/sys/kern/kern_sysctl.c 1.140 +2 -2 src/sys/kern/kern_tc.c 1.31 +1 -2 src/sys/kern/subr_devstat.c 1.110 +2 -2 src/sys/kern/subr_diskslice.c 1.102 +3 -2 src/sys/kern/tty_cons.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message