Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 1995 17:46:28 -0800
From:      David Greenman <davidg>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/net bpf_filter.c
Message-ID:  <199504010146.RAA14805@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
davidg      95/03/31 17:46:28

  Modified:    sys/net  bpf_filter.c
  Log:
  Patch from Greg Ansley:
  
  In rare cases, when the filter specified accesses an multi-byte value that
  is split across mbuf's, the value loaded is incorrect.  And if you are very
  unlucky (like me) it will index off the end of the mbuf and into an
  unallocated page and panic the system.
  
  If you look at the code you will discover the the index *k* is added to
  the pointer *cp* and the used AGAIN as a subscript.



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