--------------------- PatchSet 6179 Date: 2007/11/25 21:31:01 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fix segfault in pinger reception of IPv6 ECHO-REPLY. Members: src/ICMPv6.cc:1.1.2.2->1.1.2.3 Index: squid3/src/ICMPv6.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Attic/ICMPv6.cc,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/src/ICMPv6.cc 16 Oct 2007 13:35:08 -0000 1.1.2.2 +++ squid3/src/ICMPv6.cc 25 Nov 2007 21:31:01 -0000 1.1.2.3 @@ -1,5 +1,5 @@ /* - * $Id: ICMPv6.cc,v 1.1.2.2 2007/10/16 13:35:08 amosjeffries Exp $ + * $Id: ICMPv6.cc,v 1.1.2.3 2007/11/25 21:31:01 amosjeffries Exp $ * * DEBUG: section 42 ICMP Pinger program * AUTHOR: Duane Wessels, Amos Jeffries @@ -217,6 +217,8 @@ if (pkt == NULL) pkt = (char *)xmalloc(MAX_PKT6_SZ); + preply.from.InitAddrInfo(from); + n = recvfrom(icmp_sock, (void *)pkt, MAX_PKT6_SZ,