HomeFreeBSD

Fix an off-by-one error from r351961

Description

Fix an off-by-one error from r351961

That revision addressed a Coverity CID that could lead to a buffer overflow,
but it had an off-by-one error in the buffer size check.

Reported by: Coverity
Coverity CID: 1405530
MFC after: 3 days
MFC-With: 351961
Sponsored by: The FreeBSD Foundation

Details

Committed
asomersSep 16 2019, 4:41 PM
Parents
rS352416: MFC r352138, r352214, r352216:
Branches
Unknown
Tags
Unknown