Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 16:37:48 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/security/mac mac_net.c
Message-ID:  <200405032337.i43NbmAn066276@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/05/03 16:37:48 PDT

  FreeBSD src repository

  Modified files:
    sys/security/mac     mac_net.c 
  Log:
  If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tag
  lookup for the label tag fails, return NULL rather than something close
  to NULL.  This scenario occurs if mbuf header labeling is optional and
  a policy requiring labeling is loaded, resulting in some mbufs having
  labels and others not.  Previously, 0x14 would be returned because the
  NULL from m_tag_find() was not treated specially.
  
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, McAfee Research
  
  Revision  Changes    Path
  1.115     +4 -1      src/sys/security/mac/mac_net.c



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