Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 00:40:33 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c
Message-ID:  <200502240040.j1O0eXdi001460@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502240040.j1O0eXdi001460>