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
Unknown Object (File)
Mon, Oct 6, 11:57 PM
Unknown Object (File)
Wed, Oct 1, 5:46 PM
Unknown Object (File)
Sun, Sep 28, 8:35 AM
Unknown Object (File)
Sat, Sep 27, 4:23 AM
Unknown Object (File)
Fri, Sep 26, 8:21 AM
Unknown Object (File)
Mon, Sep 22, 11:25 AM
Unknown Object (File)
Sep 13 2025, 5:36 AM
Unknown Object (File)
Aug 30 2025, 2:17 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