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)
Sat, Nov 8, 10:31 AM
Unknown Object (File)
Sat, Nov 8, 3:56 AM
Unknown Object (File)
Fri, Nov 7, 8:17 AM
Unknown Object (File)
Fri, Nov 7, 1:30 AM
Unknown Object (File)
Sun, Oct 26, 4:03 AM
Unknown Object (File)
Fri, Oct 24, 2:49 AM
Unknown Object (File)
Fri, Oct 24, 2:49 AM
Unknown Object (File)
Thu, Oct 23, 6:15 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