Alexandre Julliard pushed to branch master at wine / wine Commits: 93a3d8bf by Yuxuan Shui at 2025-10-15T11:42:30+02:00 iphlpapi: Give GetBestRoute2 a SOCKETADDR_INET. In this call chain: GetBestInterface -> GetBestInterfaceEx -> GetBestRoute2, we cast a socketaddr_in * (16 bytes) is to SOCKETADDR_INET * (28 bytes) before passing it to GetBestRoute2, but GetBestRoute2 will access all of the 28 bytes, leading to out-of-bound access. So we create a local SOCKETADDR_INET in GetBestInterfaceEx. Found by ASan. - - - - - 1 changed file: - dlls/iphlpapi/iphlpapi_main.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/93a3d8bf9f15b9199946f6e948436ba... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/93a3d8bf9f15b9199946f6e948436ba... You're receiving this email because of your account on gitlab.winehq.org.