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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to