Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2008 16:40:51 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net bpf_jitter.c
Message-ID:  <200808281641.m7SGf0GT031148@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2008-08-28 16:40:51 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf_jitter.c 
  Log:
  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



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