mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
03dd06de9a
In convert_in_un_remote() the socket family can be accessed either as si->family or inaddr->sa_family. We were using the si->family to determine how to cast the inaddr structure, but if si->family != inaddr->sa_family then we will incorrectly be casting a in6 structure as in4 or vice-versa.