Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
F153998793: D26247.diff
Sat, Apr 25, 8:41 AM
Unknown Object (File)
Thu, Apr 23, 4:42 PM
Unknown Object (File)
Tue, Apr 21, 11:38 AM
Unknown Object (File)
Sat, Apr 11, 5:08 PM
Unknown Object (File)
Mon, Apr 6, 11:39 PM
Unknown Object (File)
Sun, Apr 5, 8:03 AM
Unknown Object (File)
Sat, Apr 4, 6:55 AM
Unknown Object (File)
Tue, Mar 31, 2:12 PM

Details

Summary

Fix string overflow that could occur during redirection by passing
the right 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.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33251
Build 30586: arc lint + arc unit