Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2006 18:25:07 +0000 (UTC)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet6 in6_cksum.c
Message-ID:  <200606301825.k5UIP7xh069278@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2006-06-30 18:25:07 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_cksum.c 
  Log:
  We needn't check "m" for NULL here because "off" should be within
  the mbuf chain.  If we ever get a buggy caller, a bogus "off" should
  be caught by the sanity check at the function entry.  Null "m" here
  means a very unusual condition of a totally broken mbuf chain (wrong
  m_pkthdr.len or whatever), so we can just page fault later.
  
  Found by:       Coverity Prevent(tm)
  CID:            825
  
  Revision  Changes    Path
  1.13      +1 -1      src/sys/netinet6/in6_cksum.c



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