From owner-svn-src-all@FreeBSD.ORG Sat Dec 17 12:20:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 338B6106564A for ; Sat, 17 Dec 2011 12:20:09 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id B77C78FC16 for ; Sat, 17 Dec 2011 12:20:08 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3kbaKtlgUyQ== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-69-227.web.vodafone.de [2.207.69.227]) by post.strato.de (mrclete mo13) (RZmta 26.15 DYNA|AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id y04ce6nBH9cqnw for ; Sat, 17 Dec 2011 13:20:00 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Sat, 17 Dec 2011 13:19:59 +0100 Date: Sat, 17 Dec 2011 13:19:59 +0100 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Message-ID: <20111217121959.GB12193@britannica.bec.de> References: <201112170119.pBH1J7BV036204@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201112170119.pBH1J7BV036204@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: svn commit: r228614 - head/sbin/dhclient X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2011 12:20:09 -0000 On Sat, Dec 17, 2011 at 01:19:07AM +0000, Dimitry Andric wrote: > Log: > In sbin/dhclient, work around warnings about the size argument to > strlcpy appearing to be the size of the source buffer, instead of the > destination. If you touch this and don't want to use strdup-like functions, at least make it a memcpy. strlcpy is very crappy from a performance PoV... Joerg