2.6.0-test4-mm3-1 / racoon (ipsec-tools 0.2.2) segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



recompiled ipsec-tools, got a segfault on
startup (will test functionality later).
this fixed the problem:

Regards, Andreas

--- grabmyaddr.c.orig   2003-08-29 17:02:19.000000000 +0200
+++ grabmyaddr.c        2003-08-29 17:03:05.000000000 +0200
@@ -342,6 +342,8 @@ grab_myaddrs()
 
        for (ifap = ifa0; ifap; ifap = ifap->ifa_next) {
 
+               if (! ifap->ifa_addr)
+                       continue;
                if (ifap->ifa_addr->sa_family != AF_INET
 #ifdef INET6
                 && ifap->ifa_addr->sa_family != AF_INET6


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux