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, Feb 28, 1:33 PM
Unknown Object (File)
Dec 21 2024, 12:42 AM
Unknown Object (File)
Dec 12 2024, 4:51 AM
Unknown Object (File)
Dec 6 2024, 5:41 PM
Unknown Object (File)
Nov 29 2024, 4:55 PM
Unknown Object (File)
Oct 9 2024, 12:04 PM
Unknown Object (File)
Oct 5 2024, 11:06 PM
Unknown Object (File)
Sep 30 2024, 1:39 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