https://bugs.winehq.org/show_bug.cgi?id=54740
Bug ID: 54740 Summary: GetAdaptersInfo function is not returning mac address information correctly Product: Wine Version: 8.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: peter.walsh@lamresearch.com Distribution: ---
The GetAdaptersInfo function is not returning the same information on wine vs windows. I've tried this with stable wine 8 and wine 8.4 staging.
We have an old program that is calling this function to get the mac address of the system for license key purposes. When run via wine the last pair of digits in the mac address are missing - and thus the software can't be registered or run.
There is likely a byte offset missing, causing the last 2 bytes to be dropped?
Example: System has mac address 82-5E-F4-3b-b6-66 - can see this ok via "wine ipconfig /all" However the legacy program when executed only sees address "82-5E-F4-3B-B6-".
https://bugs.winehq.org/show_bug.cgi?id=54740
peter.walsh@lamresearch.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #1 from peter.walsh@lamresearch.com --- I did some more debugging and it seems that the wine GetAdaptersInfo function is working correctly, the bug is caused by some old MFC code doing simple string copying!?
Will close this ticket and open a new one for the MFC stuff (that noone cares about because yuck!).
https://bugs.winehq.org/show_bug.cgi?id=54740
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|WORKSFORME |INVALID
--- Comment #2 from Austin English austinenglish@gmail.com --- Closing