[Bug 195668] New: Incosistant use of strlen() + 1 in SYSCTL_OUT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 4 03:39:20 UTC 2014


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 at FreeBSD.org
          Reporter: ian at 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.


More information about the freebsd-bugs mailing list