The crash is triggered by the IPv6 connection used in our test scenario: struct sockaddr_in is only sufficient for IPv4, but IPv6 needs struct sockaddr_in6.

A better fix than the one given in my initial report would use struct sockaddr_storage and cast it either to struct sockaddr_in or to struct sockaddr_in6 depending on ss_family.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to