Date: Thu, 04 Dec 2014 03:39:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195668] New: Incosistant use of strlen() + 1 in SYSCTL_OUT Message-ID: <bug-195668-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195668 Bug ID: 195668 Summary: Incosistant use of strlen() + 1 in SYSCTL_OUT Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ian@FreeBSD.org grep in /usr/src/sys for SYSCTL_OUT.*strlen and you find 31 occurrances, 11 of which have a +1 and 20 of which don't. It appears that adding one to account for the nullterm is correct, but I don't have time right now to followup and fix them all, so I'm opening this PR so it doesn't get forgotten. -- 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-195668-8>