HomeFreeBSD

MFC r293855:

Description

MFC r293855:

Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR: 206177
Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
Requested by: danfe

Details

Provenance
brooksAuthored on
Parents
rS294536: Refactor TCP_CONGESTION setsockopt handling:
Branches
Unknown
Tags
Unknown