HomeFreeBSD

Avoid copying too much from the input string.

Description

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
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21004

Details

Provenance
brooksAuthored on Jul 19 2019, 11:58 PM
Parents
rGc5d2d5a1efb0: Make setting mips endian and ABI less verbose.
Branches
Unknown
Tags
Unknown

Event Timeline