HomeFreeBSD

ktls CBC decrypt: Avoid creating zero length iovec entries

Description

ktls CBC decrypt: Avoid creating zero length iovec entries

If an mbuf's length in the chain for an encrypted TLS record exactly
matches the remaining length of header bytes to skip, skip the mbuf
entirely rather than adding a zero-length iovec entry.

Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on Jun 30 2026, 6:11 PM
Parents
rG150df709c28c: iconv: Fix a stack buffer overflow in _ISO2022_sputwchar()
Branches
Unknown
Tags
Unknown