Hello,
I have SEGV at busybox's telnet with uClibc-0.9.30.
It seem the current uClibc-trunk has the same problem.
diff -Nru uClibc-0.9.30.orig/libc/inet/getaddrinfo.c
uClibc-0.9.30/libc/inet/getaddrinfo.c
--- uClibc-0.9.30.orig/libc/inet/getaddrinfo.c 2008-10-29 01:25:10.000000000
+0900
+++ uClibc-0.9.30/libc/inet/getaddrinfo.c 2008-12-08 06:52:48.000000000
+0900
@@ -186,7 +186,7 @@
return seen;
}
- for (runp = ifa; runp != NULL; runp = runp->ifa_next)
+ for (runp = ifa; runp != NULL; runp = runp->ifa_next) {
#if defined __UCLIBC_HAS_IPV4__
if (runp->ifa_addr->sa_family == PF_INET)
seen |= SEEN_IPV4;
@@ -195,6 +195,7 @@
if (runp->ifa_addr->sa_family == PF_INET6)
seen |= SEEN_IPV6;
#endif /* __UCLIBC_HAS_IPV6__ */
+ }
freeifaddrs(ifa);
}
Thanks,
-- Tom
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc