kern/89752: [bpf] [patch] bpf_validate() needs to do more checks
guy at alum.mit.edu
Wed Dec 7 17:20:23 PST 2005
The following reply was made to PR kern/89752; it has been noted by GNATS.
From: Guy Harris <guy at alum.mit.edu>
To: Jung-uk Kim <jkim at FreeBSD.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/89752: [bpf] [patch] bpf_validate() needs to do more checks
Date: Wed, 7 Dec 2005 17:15:28 -0800
On Dec 7, 2005, at 3:37 PM, Jung-uk Kim wrote:
> I found another problem. BPF_MAXINSNS is tunable in FreeBSD and it is
> not available to use for others. If we remove the check also,
> there's no difference from the previous implementation. :-(
What about the change to ensure that it checks both BPF_LD *and*
BPF_LDX, and both BPF_ST *and* BPF_STX?
More information about the freebsd-bugs