Getting NULL for ifa_addr means that the interface has no address. Do
you know in what cases does this happen. Patch looks ok though.

On Fri, Dec 5, 2008 at 1:16 PM, Hiroshi Shinji <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I built root file system using buildroot, but some
> commands (ping(busybox), sshd, ntpdate, etc) occured
> segmentation fault in getaddrinfo().
> So I read uclibc/libc/inet/getaddrinfo.c and found a bug in __check_pf().
> (It has no NULL check and so on.)
>
> Please review this patch.
>
> Regards,
>
> --
> Hiroshi Shinji
> [EMAIL PROTECTED]
>
> _______________________________________________
> uClibc mailing list
> [email protected]
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to