Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 03:33:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218923] Inconsistent use of memset() in tcpdrop
Message-ID:  <bug-218923-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218923

            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@FreeBSD.org
          Reporter: dwmcrobb@me.com

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

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

--=20
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-218923-8>