https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264636

            Bug ID: 264636
           Summary: staging: vc04_services: Use scnprintf() for avoiding
                    potential buffer overflow
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 234643
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234643&action=edit
a possible patch

Since snprintf() returns the would-be-output size instead of the 
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to