Add virtualbox images to x86 (#3475)
[openwrt.git] / toolchain / uClibc / patches / 009-fix_getaddrinfo_infinite_loop.patch
1 diff -ruN uClibc-0.9.29.orig/libc/inet/getaddrinfo.c uClibc-0.9.29/libc/inet/getaddrinfo.c
2 --- uClibc-0.9.29.orig/libc/inet/getaddrinfo.c 2006-01-22 20:35:08.000000000 +0100
3 +++ uClibc-0.9.29/libc/inet/getaddrinfo.c 2008-05-11 03:33:18.000000000 +0200
4 @@ -858,7 +858,10 @@
5 if (hints->ai_family == g->family || hints->ai_family == AF_UNSPEC)
6 {
7 if ((hints->ai_flags & AI_ADDRCONFIG) && !addrconfig(g->family))
8 + {
9 + g++;
10 continue;
11 + }
12 j++;
13 if (pg == NULL || pg->gaih != g->gaih)
14 {
This page took 0.046875 seconds and 5 git commands to generate.