Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 19:31:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212121] getaddrinfo doesn't compute length for sort rule 9 correctly
Message-ID:  <bug-212121-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 212121
           Summary: getaddrinfo doesn't compute length for sort rule 9
                    correctly
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: Herbie.Robinson@stratus.com

The routine "matchlen" in getaddrinfo contains the following loop:

while (r < addrlen * 8) {

It should be=20

while ((r & 0x80) =3D=3D 0) {

While this bug does, in theory, affect a lot of people, I seriously doubt m=
any
of them will notice.

--=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-212121-8>