diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-23 17:56:28 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-23 17:56:28 +0000 |
commit | aa725129e840e596bbbf43b80fed6194a0dfbc72 (patch) | |
tree | 0578b4c71aab8f3d979d3181a922382acf050816 /toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch | |
parent | aea8cdc96da2e917d66a3ec59fe3b94f424bc570 (diff) |
clean up uclibc patch/config version handling a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch b/toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch new file mode 100644 index 000000000..5d702a3ac --- /dev/null +++ b/toolchain/uClibc/patches-0.9.29/009-fix_getaddrinfo_infinite_loop.patch @@ -0,0 +1,13 @@ +--- a/libc/inet/getaddrinfo.c ++++ b/libc/inet/getaddrinfo.c +@@ -858,7 +858,10 @@ getaddrinfo (const char *name, const cha + if (hints->ai_family == g->family || hints->ai_family == AF_UNSPEC) + { + if ((hints->ai_flags & AI_ADDRCONFIG) && !addrconfig(g->family)) ++ { ++ g++; + continue; ++ } + j++; + if (pg == NULL || pg->gaih != g->gaih) + { |