HomeFreeBSD

Fix string overflow that could occur during redirection due to passing

Description

Fix string overflow that could occur during redirection due to passing
the wrong length to strlcpy(3). It looks like it could overflow into
the next field, isc_user, which is properly long to accomodate for it;
I don't think it could cause any harm other than breaking the connection.

Reviewed by: mav
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D26247

Details

Provenance
traszAuthored on Sep 1 2020, 2:52 PM
Parents
rGa48cf24742b3: Ensure the tlbi has completed before setting SCTLR
Branches
Unknown
Tags
Unknown

Event Timeline