HomeFreeBSD

rip: Add missing minimum length validation in rip_output()

Description

rip: Add missing minimum length validation in rip_output()

If the socket is configured such that the sender is expected to supply
the IP header, then we need to verify that it actually did so.

Reported by: syzkaller+KMSAN
Reviewed by: donner
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31302

Details

Provenance
markjAuthored on Jul 26 2021, 8:39 PM
Reviewer
donner
Differential Revision
D31302: rip: Add missing minimum length validation
Parents
rGaccff08c2f6a: dumpon: Fix unconfiguring netdump with "off" and "/dev/null".
Branches
Unknown
Tags
Unknown