On 2013-06-24 05:03, Alexis Robert wrote:
By the way, it seems that there is a bug in ip/Address.cc for the =
operator overloading for sockaddr_storage.

The memcpy() for AF_INET6 is using a length of sizeof(sockaddr_in) instead of sizeof(sockaddr_in6), so squid was trying to connect to truncatured IPv6
addresses with strange ports.

I've joined a patch which fixes this :)

Alexis


Great catch. Thank you. This one has been applied to Squid-3.

Amos

Reply via email to