HomeFreeBSD

MFC r350160:

Description

MFC r350160:

Avoid copying too much from the input string.

This avoids reading past the end of the static strings. On a system
with bounds checking these tests fault.

Reviewed by: asomers
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21004

Details

Committed
brooksAug 2 2019, 4:05 PM
Reviewer
asomers
Differential Revision
D21004: Avoid copying too much from the input string.
Parents
rS350538: Fix warnings about unused identifiers when compiling without RATELIMIT.
Branches
Unknown
Tags
Unknown