Subject: Re: CVS commit: src/regress/sys/net/bpf
To: None <source-changes@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: source-changes
Date: 03/24/2006 14:17:11
Pavel Cahyna <pavel@netbsd.org> writes:

> Module Name:	src
> Committed By:	pavel
> Date:		Fri Mar 24 13:54:58 UTC 2006
>
> Modified Files:
> 	src/regress/sys/net/bpf: Makefile
> Added Files:
> 	src/regress/sys/net/bpf/out-of-bounds: Makefile out-of-bounds.sh
>
> Log Message:
> Regression test for reads past the end of a packet (out of bounds reads).
> Those should abort the bpf program.
>
> The test currently fails (out of bound reads silently return zeros), but
> succeeds if lo0 is replaced by an Ethernet interface and 127.0.0.1 by an
> address reachable through it.
>
> A fix is being worked on.

Just wondering, are working on regression tests for bpf_filters too ?
I have it on my TODO list.

-- 
  Rui Paulo			<rpaulo@{NetBSD{,-PT}.org,fnop.net}>