From owner-svn-src-head@FreeBSD.ORG Wed Apr 29 23:00:12 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA792F67; Wed, 29 Apr 2015 23:00:12 +0000 (UTC) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EEED136A; Wed, 29 Apr 2015 23:00:12 +0000 (UTC) Received: by pacwv17 with SMTP id wv17so40991940pac.0; Wed, 29 Apr 2015 16:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=yC774/bH9VBB5COtDfNjjn/Y8OmYIfdHx5SI4ymSaCI=; b=xIMG2zBzkxT+cBl3zptGbcFTSNQ5pguwGoFx0chuB21cPfq6eZhCdKbCnjm6HqyzCv zjQUZTaCrwuTpdCS33EkEMQOmIkKx883U2HN5G/ERZCIkGC9+Kb/TTMXd8WG32XJhrRy YMufqb9KjXpxsBA/sI9SQLiKXGqjlg36/ULI3SjJthEkdqjM9luSBq1G+K9xjvBeHoDA GDyZxlDQp5VEgBqR7ChI4k4Ps2lSsA+GAlzS+1h3giwe/NvHd/1J17IesqZAvT9YM9Nf 8aqizMJtrUKYkvjDQKDGxNW8R+Ux5hxgDhLfq3SJEbxF/ZXL55o7F1xOjgoOuPD9cUd6 6zCQ== X-Received: by 10.70.90.231 with SMTP id bz7mr2509206pdb.15.1430348411812; Wed, 29 Apr 2015 16:00:11 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:857d:cd13:79bf:f40d? ([2601:8:ab80:7d6:857d:cd13:79bf:f40d]) by mx.google.com with ESMTPSA id h12sm227869pdk.77.2015.04.29.16.00.10 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Apr 2015 16:00:10 -0700 (PDT) Subject: Re: svn commit: r282252 - head/lib/libcapsicum Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1D5B87A7-710F-43E1-9380-67444522B2D4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Garrett Cooper In-Reply-To: <201504292219.t3TMJeGn071528@svn.freebsd.org> Date: Wed, 29 Apr 2015 16:00:08 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <8E2140D8-E008-4A9D-A628-1FA4693A8797@gmail.com> References: <201504292219.t3TMJeGn071528@svn.freebsd.org> To: Mariusz Zaborski X-Mailer: Apple Mail (2.1878.6) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 23:00:12 -0000 --Apple-Mail=_1D5B87A7-710F-43E1-9380-67444522B2D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 29, 2015, at 15:19, Mariusz Zaborski wrote: > Author: oshogbo > Date: Wed Apr 29 22:19:40 2015 > New Revision: 282252 > URL: https://svnweb.freebsd.org/changeset/base/282252 >=20 > Log: > Remove the use of nvlist_.*[vf] functions from libcapsicum and = replace > them with snprintf(3). Assert the results of snprintf(3). >=20 > Approved by: pjd (mentor) assert(3) can be compiled out with NDEBUG, causing memory = corruption on memory allocation failure or snprintf-related failure. Is = using assert a good idea? Thanks! -NGie --Apple-Mail=_1D5B87A7-710F-43E1-9380-67444522B2D4 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVQWJ5AAoJEMZr5QU6S73eS0sH/igysTkAKOzokPcESuDjz+zx 3aE7QVgk8+7JEAManDXrXco7jkp+M8Mf55j3j56qwnNG6IZMc1Kun9KtXC85H2Zh ljSBarufw54W0u3ZGUeX3rd+9YS+0Nysxn2FTMaXHGFKf4GI3e6nB5DLM9yEwWhY BQ0AxiAx75mEPc1I++/ZFDAeRuuXAn+/0aAkZo2Irtmpvq9/GdNbRdTIs+FhFsez u4KLIKkJ1VjDX1YVC72zbbo3ejr8sDfIW2JR9Q6xYwVy3jaz6KCXyVesKYYxRZJi hl9xP/de99LOCxJIM5L83CmG7s/pYzXl49h5Au+ECW8LQ3xAAk25RAFoqS+IRek= =+ewl -----END PGP SIGNATURE----- --Apple-Mail=_1D5B87A7-710F-43E1-9380-67444522B2D4--