Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/regress/sys/net/bpf



Pavel Cahyna <pavel%netbsd.org@localhost> 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}>




Home | Main Index | Thread Index | Old Index