Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 11:23 PM
Unknown Object (File)
Nov 28 2025, 5:08 AM
Unknown Object (File)
Nov 21 2025, 1:55 PM
Unknown Object (File)
Nov 21 2025, 1:55 PM
Unknown Object (File)
Nov 21 2025, 1:53 PM
Unknown Object (File)
Nov 21 2025, 1:52 PM
Unknown Object (File)
Nov 16 2025, 1:58 PM
Unknown Object (File)
Nov 13 2025, 5:14 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