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

            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.robin...@stratus.com

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

while (r < addrlen * 8) {

It should be 

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to