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)
Fri, May 22, 11:21 PM
Unknown Object (File)
Thu, May 21, 5:43 AM
Unknown Object (File)
Wed, May 20, 8:40 PM
Unknown Object (File)
Tue, May 19, 11:29 AM
Unknown Object (File)
Sat, May 16, 7:50 PM
Unknown Object (File)
Tue, May 12, 1:10 PM
Unknown Object (File)
Mon, May 11, 4:34 PM
Unknown Object (File)
Sun, May 3, 7:05 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