Hi,
There is an issue reported for socklen in ipv6 Protocol family code in helper function.
Platform : Linux-x86
Function: addrinfo_from_hostent()
File: libevent-2.1.4-alpha/evutil.c:1148
Issue :
socklen = sizeof(struct sockaddr_in); for PF_INET6
Solution:
socklen = sizeof(struct sockaddr_in6); for PF_INET6
The respective patch has been attached ,Please review it
Thanks,
Pankaj Sharma
good catch thank you