From owner-cvs-src Sun Feb 16 8:12:28 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E63037B40C; Sun, 16 Feb 2003 08:12:25 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D0443F3F; Sun, 16 Feb 2003 08:12:24 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id BE693AE28D; Sun, 16 Feb 2003 08:12:24 -0800 (PST) Date: Sun, 16 Feb 2003 08:12:24 -0800 From: Alfred Perlstein To: Max Khon Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sysv_shm.c Message-ID: <20030216161224.GE93252@elvis.mu.org> References: <200302160608.h1G68t9U083470@repoman.freebsd.org> <20030216025032.A55015@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030216025032.A55015@FreeBSD.org> User-Agent: Mutt/1.4i Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Max Khon [030216 02:50] wrote: > hi, there! > > On Sat, Feb 15, 2003 at 10:08:55PM -0800, Alfred Perlstein wrote: > > > alfred 2003/02/15 22:08:55 PST > > > > Modified files: > > sys/kern sysv_shm.c > > Log: > > prevent overflow in shminfo.shmmax > > > > Revision Changes Path > > 1.79 +5 -1 src/sys/kern/sysv_shm.c > > http://cvsweb.FreeBSD.org/src/sys/kern/sysv_shm.c.diff?r1=1.78&r2=1.79 > > for() loop will never be executed > calculations in for() loop also look suspicious GAh, thanks! -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message