Date: Fri, 10 Oct 2014 19:19:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 181127] [libc] [patch] set{domain,host}name doesn't permit NUL terminated strings that are MAXHOSTNAMELEN long Message-ID: <bug-181127-8-T66ZLhVjN2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-181127-8@https.bugs.freebsd.org/bugzilla/> References: <bug-181127-8@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=181127 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: ngie Date: Fri Oct 10 19:18:53 UTC 2014 New revision: 272905 URL: https://svnweb.freebsd.org/changeset/base/272905 Log: FreeBSD doesn't support strings greater than MAXHOSTNAMELEN-1 in {get,set}{domain,host}name. Adjust the tests to not exceed that value when testing out the code Add a positive and negative test for MAXHOSTNAMELEN-1 and MAXHOSTNAMELEN, respectively PR: 181127 In collaboration with: pho Sponsored by: EMC / Isilon Storage Division Changes: head/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c head/contrib/netbsd-tests/lib/libc/gen/t_sethostname.c -- 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-181127-8-T66ZLhVjN2>