summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2008-08-28 16:40:51 +0000
committerjkim <jkim@FreeBSD.org>2008-08-28 16:40:51 +0000
commit841dbb1bffc67cc5abbd073d4025888f051e1dbe (patch)
treef97e223426d7fc908c5c9c2f528f812c59f46286 /tools
parent30759f2655e0945a1914b588b1cc89e1f111a67b (diff)
downloadFreeBSD-src-841dbb1bffc67cc5abbd073d4025888f051e1dbe.zip
FreeBSD-src-841dbb1bffc67cc5abbd073d4025888f051e1dbe.tar.gz
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud