From owner-cvs-src@FreeBSD.ORG Sat Oct 8 05:16:46 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 0661116A41F; Sat, 8 Oct 2005 05:16:46 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA75D43D46; Sat, 8 Oct 2005 05:16:45 +0000 (GMT) (envelope-from scottl@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 j985GjY0035490; Sat, 8 Oct 2005 05:16:45 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j985Gjrs035489; Sat, 8 Oct 2005 05:16:45 GMT (envelope-from scottl) Message-Id: <200510080516.j985Gjrs035489@repoman.freebsd.org> From: Scott Long Date: Sat, 8 Oct 2005 05:16:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 05:16:46 -0000 scottl 2005-10-08 05:16:45 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c Log: Remove a couple of explicit memset(0) ops that were zeroing past the end of an allocation. This fixes the malloc 'use after free' panic on boot that many were seeing. It doesn't solve the problem of the allocations being cached and then written past their bounds later. That will take more work. Submitted by: kan Revision Changes Path 1.14 +2 -4 src/sys/dev/mpt/mpt.c