Re: [PATCH v4 0/4] MR8991: iphlpapi: Implement GetBestRoute2() and GetBestInterfaceEx().
4 Oct
2025
4 Oct
'25
7:30 p.m.
On Sat Oct 4 09:17:56 2025 +0000, Bernhard Übelacker wrote:
Hello @gofman, I fear asan gets triggered by this assignment. [This is the full output with a backtrace running the iphlpapi:iphlpapi test](https://gitlab.winehq.org/bernhardu/wine/-/blob/asan-pe_2025-09-13_wine-10.1...) If I understand it right, the size of `dst_addr` is 28 bytes, that much it tries to read from the `dst` pointer. Unfortunately this `dst` is reserved on the stack in `GetBestInterface` as `struct sockaddr_in sa_in;` which is just 16 bytes. Thanks! I think it is already being addressed in https://gitlab.winehq.org/wine/wine/-/merge_requests/9085
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8991#note_117618
73
Age (days ago)
73
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Gofman (@gofman)