[PATCH] bug in __check_pf() (getaddrinfo.c)

Hiroshi Shinji hiroshi.shinji at gmail.com
Fri Dec 5 21:16:03 UTC 2008


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.


Hiroshi Shinji
hiroshi.shinji at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getaddrinfo.c.patch
Type: application/octet-stream
Size: 759 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20081206/0a946b75/attachment-0002.obj 

More information about the uClibc mailing list