From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 13 23:39:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DD2F16A4CE for ; Tue, 13 Jul 2004 23:39:20 +0000 (GMT) Received: from chococat.sd.dreamhost.com (chococat.sd.dreamhost.com [66.33.206.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A6F43D2D for ; Tue, 13 Jul 2004 23:39:20 +0000 (GMT) (envelope-from tedu@coverity.com) Received: from webmail.coverity.com (localhost [127.0.0.1]) by chococat.sd.dreamhost.com (Postfix) with SMTP id D9593FA45 for ; Tue, 13 Jul 2004 16:39:18 -0700 (PDT) Received: from 66.93.171.98 (SquirrelMail authenticated user tedu@coverity.com) by webmail.coverity.com with HTTP; Tue, 13 Jul 2004 16:39:18 -0700 (PDT) Message-ID: <16435.66.93.171.98.1089761958.spork@webmail.coverity.com> Date: Tue, 13 Jul 2004 16:39:18 -0700 (PDT) From: "Ted Unangst" To: hackers@freebsd.org User-Agent: DreamHost Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 14 Jul 2004 12:06:33 +0000 Subject: out of bounds in local_apic.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 23:39:20 -0000 if lapic_create is passed the value 16, it will use it as index into lapics, with potentially bad results. the check should be if (apic_id >= MAX_APICID).