I'm soryy that it's already post the information by [PATCH] bug in __check_pf() (getaddrinfo.c) 12/5/2008
-- Tom On Mon, 08 Dec 2008 07:36:33 +0900 Tomoyoshi ASANO <[EMAIL PROTECTED]> wrote: > 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); > } > _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc