cvs commit: src/sys/net bpf_jitter.c

Jung-uk Kim jkim at
Thu Aug 28 16:41:00 UTC 2008

jkim        2008-08-28 16:40:51 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf_jitter.c 
  SVN rev 182376 on 2008-08-28 16:40:51Z by jkim
  Initialize scratch memory for JIT-compiled filter when it is allocated.
  Previously it may have contained unnecessary (even sensitive) data from
  the previous allocation.
  As a (good) side effect, scratch memory may be used to store the previous
  filter state(s) safely because it is allocated and freed with filter itself.
  However, use it carefully because bpf_filter(9) does not have this behavior.
  MFC after:      3 days
  Revision  Changes    Path
  1.8       +3 -1      src/sys/net/bpf_jitter.c

More information about the cvs-all mailing list