Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
F135870221: D26247.id76397.diff
Thu, Nov 13, 5:14 PM
Unknown Object (File)
Mon, Nov 10, 2:37 AM
Unknown Object (File)
Sun, Nov 9, 5:38 PM
Unknown Object (File)
Mon, Oct 27, 10:46 AM
Unknown Object (File)
Mon, Oct 27, 2:24 AM
Unknown Object (File)
Sun, Oct 26, 5:38 AM
Unknown Object (File)
Sat, Oct 25, 5:25 PM
Unknown Object (File)
Sat, Oct 25, 2:47 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 Not Applicable
Unit
Tests Not Applicable