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)
Mar 10 2024, 12:49 PM
Unknown Object (File)
Dec 28 2023, 11:22 PM
Unknown Object (File)
Dec 28 2023, 10:32 AM
Unknown Object (File)
Dec 20 2023, 6:54 AM
Unknown Object (File)
Dec 9 2023, 6:31 PM
Unknown Object (File)
Nov 26 2023, 3:59 PM
Unknown Object (File)
Nov 23 2023, 4:23 PM
Unknown Object (File)
Nov 19 2023, 2:40 AM
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