Source-Changes archive

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

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



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.

Approved by martin.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/regress/sys/net/bpf/Makefile
cvs rdiff -r0 -r1.1 src/regress/sys/net/bpf/out-of-bounds/Makefile \
    src/regress/sys/net/bpf/out-of-bounds/out-of-bounds.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index