Source-Changes archive

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

CVS commit: src/sys/net

Module Name:    src
Committed By:   alnsn
Date:           Wed Feb 11 12:03:30 UTC 2015

Modified Files:
        src/sys/net: bpf_filter.c

Log Message:
It's not enough to check that a class of the last instruction is BPF_RET.
The opcodes in bpf_validate() must match opcodes understood by bpf_filter().

Found by afl-fuzz

To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 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.

Home | Main Index | Thread Index | Old Index