Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 3:02 AM
Unknown Object (File)
Tue, Apr 23, 2:54 AM
Unknown Object (File)
Jan 19 2024, 6:45 PM
Unknown Object (File)
Dec 20 2023, 1:31 AM
Unknown Object (File)
Oct 16 2023, 1:13 PM
Unknown Object (File)
Oct 5 2023, 2:06 AM
Unknown Object (File)
Sep 18 2023, 9:27 PM
Unknown Object (File)
Sep 15 2023, 4:07 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