From owner-svn-src-head@FreeBSD.ORG Mon May 5 16:26:25 2014 Return-Path: Delivered-To: svn-src-head@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 2904C92E; Mon, 5 May 2014 16:26:25 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03A0E124; Mon, 5 May 2014 16:26:25 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E9A64B941; Mon, 5 May 2014 12:26:23 -0400 (EDT) From: John Baldwin To: Don Lewis Subject: Re: svn commit: r265363 - head/sys/kern Date: Mon, 5 May 2014 12:26:01 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <201405051559.s45FxViA065500@svn.freebsd.org> In-Reply-To: <201405051559.s45FxViA065500@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201405051226.01182.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 05 May 2014 12:26:24 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 05 May 2014 16:26:25 -0000 On Monday, May 05, 2014 11:59:31 am Don Lewis wrote: > Author: truckman > Date: Mon May 5 15:59:31 2014 > New Revision: 265363 > URL: http://svnweb.freebsd.org/changeset/base/265363 > > Log: > Avoid unsigned integer overflow which can cause > rman_reserve_resource_bound() to return incorrect results. > > Continue the initial search until the first viable region is found. > > Add a comment to explain the search termination test. > > PR: kern/188534 > Reviewed by: jhb (previous version) > MFC after: 1 week > > Modified: > head/sys/kern/subr_rman.c Thanks for tracking this down! -- John Baldwin