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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to