Page MenuHomeFreeBSD

Fix string overflow
ClosedPublic

Authored by trasz on Aug 31 2020, 1:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 9, 5:35 PM
Unknown Object (File)
Tue, Sep 29, 7:15 AM
Unknown Object (File)
Sun, Sep 27, 3:48 AM
Unknown Object (File)
Sat, Sep 26, 3:56 AM
Unknown Object (File)
Sun, Sep 20, 6:17 PM
Unknown Object (File)
Fri, Sep 18, 3:04 PM
Unknown Object (File)
Sep 8 2026, 12:50 PM
Unknown Object (File)
Sep 7 2026, 7:56 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