HomeFreeBSD

MFC r316768:

Description

MFC r316768:

Fix an out-of-bounds write when a zero-length buffer is passed.

Found with ttyname_test and CHERI bounds checking.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL

Details

Provenance
brooksAuthored on
Reviewer
emaste
Parents
rS317390: Flush the LRO ctrl as soon as lro_mbufs fills up. There is no need to
Branches
Unknown
Tags
Unknown