[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/43185 CVS commit: [netbsd-5-0] src/sys/net
The following reply was made to PR kern/43185; it has been noted by GNATS.
From: "Manuel Bouyer" <bouyer%netbsd.org@localhost>
Subject: PR/43185 CVS commit: [netbsd-5-0] src/sys/net
Date: Tue, 22 Mar 2011 20:02:37 +0000
Module Name: src
Committed By: bouyer
Date: Tue Mar 22 20:02:36 UTC 2011
src/sys/net [netbsd-5-0]: bpf_filter.c
Pull up following revision(s) (requested by spz in ticket #1571):
sys/net/bpf_filter.c: revision 1.36, 1.42 -> 1.46 via patch
Avoid stack memory disclosure by keeping track during filter validation time
of initialized memory. Idea taken from linux.
Use kmem instead of malloc. Requested by rmind.
Fix userland build.
the correct check for BPF_K is with BPF_SRC for BPF_ALU ops, from
Guy Harris per PR kern/43185
fixes possible division-by-zero crashes by evil filter expressions
like "len / 0 = 1"
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r220.127.116.11 src/sys/net/bpf_filter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |