OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Otto Moerbeek (ottocvs.openbsd.org)
Date: Mon Apr 26 2004 - 03:10:11 CDT


CVSROOT: /cvs
Module name: src
Changes by: ottocvs.openbsd.org 2004/04/26 02:10:10

Modified files:
        sys/net : bpf.h bpf_filter.c

Log message:
- make the k field in struct bpf_insn unsigned, as promised in the
manual page.
- more strict bpf code validation, preventing arbitrary kernel memory
read and writes.
Some help from frantzen and canacar; testing jmc markus;
ok canacar henning franzen