From owner-svn-src-all@FreeBSD.ORG Tue Aug 12 20:29:26 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21EADA93 for ; Tue, 12 Aug 2014 20:29:26 +0000 (UTC) Received: from nm22-vm1.bullet.mail.bf1.yahoo.com (nm22-vm1.bullet.mail.bf1.yahoo.com [98.139.212.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA1DF2D5E for ; Tue, 12 Aug 2014 20:29:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1407875358; bh=zh8OwqYvmarQkC6zdvKCeZ5YG/0rMcT84pLElNbjuSo=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=qORS+HAYb++XGrkjjw4PPsWrV2B/H4I3fJejK0jV7DNLx514P81js2nv6IEph9ddbfIQ2i6LsHK1JS0OYTRFF+SfLmQRCUiHae35jnA2c5GCUOxj1uFJ9jGqER7W9ReqwjTN7ya8LUYQE9buYnzG9haH86JjQWu6aEp1VZX7qtGCovx/We+jtMrQwDe/0psyjXHMaiN+EBRfXS9s/KvLSLtNKei9mWfvU147wR6J/dMitiVJWMLXKYqSshdzyCExNRbQ1yWaXgl/rLgOcI7sJmIBcbn7v/gu4apQ8IlV/aqM9V079Y8exgvAvH+yssTYy/pzjLjmpoOoYy0iXdMa5g== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=pEqz0s8QUEwneHW8oxJZ0eSHTsM77U5PeAUXC+SfZ4VknhZ5DAfj9bsGB3S1U4ENfi87FzfnLvcowOXYHJOzy/OdNISeEaLErq7CHVQ4UmDE0tLN180HtJ9tyEymvFu6Dk9M3UTAC8VKDNXEm67FPkqcy41DY3eShyQwOoS2EJd+dbgqFyRzuXZXViFCaoW1sU3vzY/ir6QTdxd7DAjHRYsgUhqSSUr12wYVRy8eZoy03fSmOGjKb+rK4DSJhT2YQ7CSRb963fOwpoYR9Ws1vj7Gr3iAdX6Q76fdUwJMVp1i5hgKNl0hvePIXru2A63VfLvhV2nIeQj3sjZi8SbB9g==; Received: from [98.139.212.150] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 12 Aug 2014 20:29:18 -0000 Received: from [68.142.230.64] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 12 Aug 2014 20:29:18 -0000 Received: from [127.0.0.1] by smtp221.mail.bf1.yahoo.com with NNFMP; 12 Aug 2014 20:29:18 -0000 X-Yahoo-Newman-Id: 624854.82764.bm@smtp221.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Ijw7zOQVM1lIObjRQkW.Mkc4opgPgkehBpdpul7Tjf3Amxx k9Ds0e1VPaOW9XqC_ZF0iSQpWDW.fKHQ5qn6LvOgW4lhbpiQMet9ZpTtz5sN g9M83vdOtQVA3bErs2vgqoufOjqW3cA92qMp3Ji3UmpMevIY4fJbbGfTcuGg LQmtxrIRL_k3nVttcvkkPB6pu.lDJAbXr6QSCzREMwLCA6uFF0EeAgodoyZY V8q0NYh1Maztwin8p5ry3t3WMV7HrllK.7MPIXe833QOh8LVy7B5d0gRAGb6 D8WWf_VtDQat76jWC48M2GrxO3Rx8tjzVqa1VORhDQXtQH_tfFeV7RbGhjWD 3S5cyMLJ4HFcbJNdsmew.i9duf2YYQp11m7xBhZOBDRPXBvEtZzlH6IOxznL EsbJCcz0skFkK_ZaOxpyfXjPTWfSqSErpfQobeVWU_NZSdXXvR3grP6GRP1V LO5YM__EwnkKOTO21L3B7aLI15ZsuzXT6V25IforvyI9Ov3PFAOS9jixDLlY ko4ui6FQV2QdgDzYBho9ki_PkOu6FwzQ2ha5e9dv0dOCeBVNqDgAbLbaDE98 jMLT_R4FygiEWuG3NRiXHGlw7.apVDPvQuRBcoxnYzx4ZHRNgKZVh0ZSUSB5 6EE4q X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r269873 - head/lib/libc/nameser From: Pedro Giffuni In-Reply-To: <53ea120c.6165.1de1e179@svn.freebsd.org> Date: Tue, 12 Aug 2014 15:29:14 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <7608F6C6-3E7C-4D0B-B71A-BBFED422C7B6@freebsd.org> References: <53ea120c.6165.1de1e179@svn.freebsd.org> To: Hajimu UMEMOTO X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 12 Aug 2014 20:29:26 -0000 Il giorno 12/ago/2014, alle ore 08:09, Hajimu UMEMOTO = ha scritto: > Author: ume > Date: Tue Aug 12 13:09:32 2014 > New Revision: 269873 > URL: http://svnweb.freebsd.org/changeset/base/269873 >=20 > Log: > Fix broken pointer overflow check ns_name_unpack() >=20 > Many compilers may optimize away the overflow check `msg + l < msg', > where `msg' is a pointer and `l' is an integer, because pointer > overflow is undefined behavior in C. >=20 > Use a safe precondition test `l >=3D eom - msg' instead. >=20 > Reference: > https://android-review.googlesource.com/#/c/50570/ >=20 > Requested by: pfg > Obtained from: NetBSD (CVS rev. 1.10) >=20 Thanks! Pedro.=