From owner-cvs-src@FreeBSD.ORG Thu Feb 24 00:40:33 2005 Return-Path: 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 BF7F316A4CE; Thu, 24 Feb 2005 00:40:33 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9758043D1D; Thu, 24 Feb 2005 00:40:33 +0000 (GMT) (envelope-from sam@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 j1O0eXHb001461; Thu, 24 Feb 2005 00:40:33 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1O0eXdi001460; Thu, 24 Feb 2005 00:40:33 GMT (envelope-from sam) Message-Id: <200502240040.j1O0eXdi001460@repoman.freebsd.org> From: Sam Leffler Date: Thu, 24 Feb 2005 00:40:33 +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/kern uipc_mbuf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 24 Feb 2005 00:40:33 -0000 sam 2005-02-24 00:40:33 UTC FreeBSD src repository Modified files: sys/kern uipc_mbuf.c Log: change m_adj to reclaim unused mbufs instead of zero'ing m_len when trim'ing space off the back of a chain; this is indirect solution to a potential null ptr deref Noticed by: Coverity Prevent analysis tool (null ptr deref) Reviewed by: dg, rwatson Revision Changes Path 1.143 +4 -2 src/sys/kern/uipc_mbuf.c