Date: Wed, 20 Jun 2018 20:38:30 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 228354] mount_smbfs - long hostname causes stack overflow Message-ID: <bug-228354-3630-8278iDHi1t@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228354-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-228354-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228354 --- Comment #11 from Brooks Davis <brooks@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228354-3630-8278iDHi1t>