[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-24 Thread Dmitry Bilunov
Test failes on 2.15-0ubuntu10.17, succeeds on 2.15-0ubuntu10.18. Tested on docker image ubuntu:12.04 (b384dd9703db). ** Attachment added: "docker.txt" https://bugs.launchpad.net/eglibc/+bug/1674776/+attachment/4844145/+files/docker.txt -- You received this bug notification because you are a

[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-23 Thread Dmitry Bilunov
** Bug watch added: Sourceware.org Bugzilla #21295 https://sourceware.org/bugzilla/show_bug.cgi?id=21295 ** Also affects: eglibc via https://sourceware.org/bugzilla/show_bug.cgi?id=21295 Importance: Unknown Status: Unknown -- You received this bug notification because you are a m

[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-23 Thread Dmitry Bilunov
** Patch removed: "0001-getaddrinfo-do-not-overwrite-IPv6-IPs-with-IPv4-when.patch" https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674776/+attachment/4843189/+files/0001-getaddrinfo-do-not-overwrite-IPv6-IPs-with-IPv4-when.patch -- You received this bug notification because you are a

[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-23 Thread Dmitry Bilunov
The same patch has been submitted upstream, see libc-alpha@ and BZ#21295. However it is not likely to be accepted because newer libc versions use a different interface (gethostbyname4_r) in libnss_dns module which activates a different libc codepath avoiding the issue by requesting IPv4 and IPv6

[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-23 Thread Dmitry Bilunov
** Patch added: "0001-getaddrinfo-do-not-overwrite-IPv6-IPs-with-IPv4-when.patch" https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674776/+attachment/4843189/+files/0001-getaddrinfo-do-not-overwrite-IPv6-IPs-with-IPv4-when.patch -- You received this bug notification because you are a m

[Touch-packages] [Bug 1674776] Re: getaddrinfo() dont work correct with ipv4+ipv6 addreses aftrer upgrade libc6 in Ubuntu Precise

2017-03-23 Thread Dmitry Bilunov
It seems that sequential A-type DNS reply data overwrites data returned by -type DNS reply data prior to that. convert_hostent_to_gaih_addrtuple: replacing "free(*result);" with "while(*result) result = &result->next;" does the trick. You can try it out on libc6=2.15-0ubuntu10.17 by a simple

[Touch-packages] [Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Dmitry Bilunov
@Dariusz: Your patch fixes the issue on Trusty. Thanks! Is there any estimate when a patched package would land into trusty-proposed? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to wpa in Ubuntu. https://bugs.launchpad.net/bu