From owner-cvs-all@FreeBSD.ORG Thu May 13 18:29:22 2004 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 5D71716A4CE; Thu, 13 May 2004 18:29:22 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BFE343D46; Thu, 13 May 2004 18:29:22 -0700 (PDT) (envelope-from jdp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i4E1TLGe024881; Thu, 13 May 2004 18:29:22 -0700 (PDT) (envelope-from jdp@repoman.freebsd.org) Received: (from jdp@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i4E1TLqx024880; Thu, 13 May 2004 18:29:21 -0700 (PDT) (envelope-from jdp) Message-Id: <200405140129.i4E1TLqx024880@repoman.freebsd.org> From: John Polstra Date: Thu, 13 May 2004 18:29:21 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/libi386 biosacpi.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, 14 May 2004 01:29:22 -0000 jdp 2004/05/13 18:29:21 PDT FreeBSD src repository Modified files: sys/boot/i386/libi386 biosacpi.c Log: Fix a potential stack buffer overflow on systems whose ACPI OEMID fills its field (6 characters). In that case the OEMID is not null-terminated, and the sprintf that was used would copy up to the next null byte, which could be pretty far away. Revision Changes Path 1.8 +2 -2 src/sys/boot/i386/libi386/biosacpi.c