Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
F110592227: D26247.id76484.diff
Thu, Feb 20, 3:11 PM
Unknown Object (File)
Tue, Feb 18, 7:45 AM
Unknown Object (File)
Fri, Jan 24, 7:17 PM
Unknown Object (File)
Jan 21 2025, 5:59 AM
Unknown Object (File)
Dec 9 2024, 2:51 AM
Unknown Object (File)
Nov 29 2024, 11:17 AM
Unknown Object (File)
Nov 20 2024, 8:22 AM
Unknown Object (File)
Oct 4 2024, 4:55 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