https://bugs.winehq.org/show_bug.cgi?id=56065
Bug ID: 56065 Summary: Missing GetAnycastIpAddressTable() implementation Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: iphlpapi Assignee: wine-bugs@winehq.org Reporter: winehq@rastos.org Distribution: ---
Created attachment 75729 --> https://bugs.winehq.org/attachment.cgi?id=75729 patch adding empty implementation of GetAnycastIpAddressTable()
Right now the implementation of Win32 API function of GetAnycastIpAddressTable() is missing. I'm attaching a patch that adds dummy implementation of this function that returns "nothing found".
My motivation is that this function is used by OpenJDK 21 which seems to use the result (along with other information) to initialize secure random generator. Without implementation of GetAnycastIpAddressTable() any use of the random generator in java results in JVM crash.
Note: there is a very similar function GetUnicastIpAddressTable(). I assume that implementation of GetAnycastIpAddressTable() should be very similar. I attempted to follow up implementation of GetUnicastIpAddressTable() but it seems to be beyond my capabilities :-(. In first step because I'm unable to find and equivalent of macro NSI_IP_UNICAST_TABLE. So I would really appreciate if you could at least accept the attached patch.