Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
F163121920: D26247.id76397.diff
Mon, Jul 20, 6:39 AM
F163041713: D26247.id76484.diff
Sun, Jul 19, 1:05 PM
Unknown Object (File)
Jun 20 2026, 5:25 AM
Unknown Object (File)
May 21 2026, 9:39 PM
Unknown Object (File)
May 19 2026, 6:04 PM
Unknown Object (File)
May 19 2026, 3:25 AM
Unknown Object (File)
May 16 2026, 4:01 AM
Unknown Object (File)
Apr 30 2026, 6:50 AM

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