[Bug 228354] mount_smbfs - long hostname causes stack overflow

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 20 20:38:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228354

--- Comment #11 from Brooks Davis <brooks at FreeBSD.org> ---
(In reply to Brooks Davis from comment #10)
I see that wikipedia says 15 + a suffix.  That probably suggests we should be
doing strlcpy(..., NB_NAMELEN); and if some code wants to add the SUFFIX it
must take care to  to add the terminator.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list