CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/01/07 00:54:25

Modified files:
        sys/netinet    : raw_ip.c 

Log message:
Validate the version, and all length fields of IP packets passed to a raw socket
with INP_HDRINCL. There is no reason to allow badly constructed packets through
our network stack. Especially since they may trigger diagnostic checks further
down the stack. Now EINVAL is returned instead which was already used for some
checks that happened before.
OK florian@

Reported-by: [email protected]

Reply via email to