HomeFreeBSD

sctp: improve input validation for data chunks

Description

sctp: improve input validation for data chunks

fsn_included should only be considered, if first_frag_seen is true.
Also, fix the resetting of the control structure, if stream queues
are flushed.
This fixes a bug where a legitimate message sequence was incorrectly
classified as illegitimate.
Thanks to Victor Boivie for reporting the issue on the userland
stack.

(cherry picked from commit 101a0f09e8baf8293e1eeb591de18caf15e49e00)

Details

Provenance
tuexenAuthored on Aug 3 2024, 11:27 AM
Parents
rG5bd6e6c1ddff: libusb: claim to be version 1.0.16
Branches
Unknown
Tags
Unknown