Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54182 Details for
Bug 86313
Erroneous address ordering from glibc getaddrinfo()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to sort addresses correctly
glibc-addrinfofix.diff (text/plain), 501 bytes, created by
Fredrik Tolf
on 2005-03-22 14:42:31 UTC
(
hide
)
Description:
Patch to sort addresses correctly
Filename:
MIME Type:
Creator:
Fredrik Tolf
Created:
2005-03-22 14:42:31 UTC
Size:
501 bytes
patch
obsolete
>Index: getaddrinfo.c >=================================================================== >RCS file: /cvs/glibc/libc/sysdeps/posix/getaddrinfo.c,v >retrieving revision 1.85 >diff -u -r1.85 getaddrinfo.c >--- getaddrinfo.c 22 Nov 2004 18:41:37 -0000 1.85 >+++ getaddrinfo.c 3 Jan 2005 03:49:38 -0000 >@@ -1266,7 +1266,7 @@ > uint8_t *mask = list[idx].prefix.s6_addr; > uint8_t *val = in6->sin6_addr.s6_addr; > >- while (bits > 8) >+ while (bits >= 8) > { > if (*mask != *val) > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 86313
: 54182 |
54183