From owner-cvs-all@FreeBSD.ORG Fri Mar 18 05:43:35 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 343F916A4D2; Fri, 18 Mar 2005 05:43:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 072A043D46; Fri, 18 Mar 2005 05:43:35 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2I5hYpA061484; Fri, 18 Mar 2005 05:43:34 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2I5hYMC061483; Fri, 18 Mar 2005 05:43:34 GMT (envelope-from das) Message-Id: <200503180543.j2I5hYMC061483@repoman.freebsd.org> From: David Schultz Date: Fri, 18 Mar 2005 05:43:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/hptmv gui_lib.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 05:43:35 -0000 das 2005-03-18 05:43:34 UTC FreeBSD src repository Modified files: sys/dev/hptmv gui_lib.c Log: Don't read past the end of pVDevice[]. (Previously, we would iterate twice as many times as there were entries in the array.) Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl Revision Changes Path 1.4 +1 -1 src/sys/dev/hptmv/gui_lib.c