diff options
Diffstat (limited to 'main/uclibc/uclibc-getaddrinfo-netlink.diff')
-rw-r--r-- | main/uclibc/uclibc-getaddrinfo-netlink.diff | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main/uclibc/uclibc-getaddrinfo-netlink.diff b/main/uclibc/uclibc-getaddrinfo-netlink.diff deleted file mode 100644 index d2de3c6298..0000000000 --- a/main/uclibc/uclibc-getaddrinfo-netlink.diff +++ /dev/null @@ -1,23 +0,0 @@ -Fix for netlink code that causes crashes with e.g. ppp or tun -interfaces. - -Basically a back port of c40b05b4c4226b2c4323a9ba5b096377931682ef: - -Author: Denis Vlasenko <vda.linux@googlemail.com> -Date: Tue Dec 9 00:16:11 2008 +0000 - - getaddrinfo: runp->ifa_addr indeed can be NULL, don't dereference it - -Index: uClibc-0.9.30.1/libc/inet/getaddrinfo.c -=================================================================== ---- uClibc-0.9.30.1.orig/libc/inet/getaddrinfo.c 2009-07-29 08:54:52.000000000 +0300 -+++ uClibc-0.9.30.1/libc/inet/getaddrinfo.c 2009-07-29 08:55:16.000000000 +0300 -@@ -187,6 +187,8 @@ - } - - for (runp = ifa; runp != NULL; runp = runp->ifa_next) { -+ if (runp->ifa_addr == NULL) -+ continue; - #if defined __UCLIBC_HAS_IPV4__ - if (runp->ifa_addr->sa_family == PF_INET) - seen |= SEEN_IPV4; |