Page MenuHomeFreeBSD

Fix a stack overflow in mount_smbfs when hostname is too long.
AbandonedPublic

Authored by brooks on Jun 20 2018, 8:25 PM.
Tags
None
Referenced Files
F154020123: D15935.id44183.diff
Sat, Apr 25, 12:38 PM
Unknown Object (File)
Thu, Apr 23, 5:31 PM
Unknown Object (File)
Sun, Apr 19, 11:34 PM
Unknown Object (File)
Sat, Apr 11, 4:24 AM
Unknown Object (File)
Fri, Apr 3, 6:32 AM
Unknown Object (File)
Mar 15 2026, 2:18 PM
Unknown Object (File)
Mar 15 2026, 2:08 PM
Unknown Object (File)
Mar 13 2026, 3:29 PM
Subscribers
None

Details

Reviewers
None
Summary

The local hostname was blindly copied into the to the nn_name array.
When the hostname exceeded 16 bytes, it would overflow.

PR: 228354
Reported by: donald.buchholz@intel.com

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 17498
Build 17325: arc lint + arc unit