[Bug 218923] Inconsistent use of memset() in tcpdrop

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 28 03:33:50 UTC 2017


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

            Bug ID: 218923
           Summary: Inconsistent use of memset() in tcpdrop
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dwmcrobb at me.com

Created attachment 182142
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182142&action=edit
memset all of sin4 array

In tcpdropconn(), for IPv4 we only memset() half of the sin4 array.  For IPv6
we memset() the whole sin6 array.  See the suggested patch.

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


More information about the freebsd-bugs mailing list