The following reply was made to PR kern/43185; it has been noted by GNATS.
From: Soren Jacobsen <[email protected]>
To: [email protected]
Subject: PR/43185 CVS commit: [netbsd-5] src/sys/net
Date: Thu, 20 May 2010 05:13:13 +0000
Module Name: src
Committed By: snj
Date: Thu May 20 05:13:13 UTC 2010
src/sys/net [netbsd-5]: bpf_filter.c
Pull up following revision(s) (requested by drochner in ticket #1381):
sys/net/bpf_filter.c: revision 1.36
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 -r22.214.171.124 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.