From owner-cvs-src@FreeBSD.ORG Thu Jun 14 14:44:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9FE116A46D; Thu, 14 Jun 2007 14:44:04 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C5E0713C46A; Thu, 14 Jun 2007 14:44:04 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5EEi48W068033; Thu, 14 Jun 2007 14:44:04 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5EEi46M068026; Thu, 14 Jun 2007 14:44:04 GMT (envelope-from yar) Message-Id: <200706141444.l5EEi46M068026@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 14 Jun 2007 14:44:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/libexec/atrun atrun.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 14:44:05 -0000 yar 2007-06-14 14:44:04 UTC FreeBSD src repository Modified files: libexec/atrun atrun.c Log: Fix a typical off-by-one error that can result in an unterminated string: strncpy(dst, src, sizeof(dst)); by substituting the safer strlcpy() for strncpy(). X-Security: none (the source string isn't user-supplied) Revision Changes Path 1.20 +1 -1 src/libexec/atrun/atrun.c