[Bug 51821] EVE Online Sisi Client Crashes Due to differences in how Wine and Windows handle LoadLibraryExW Undefined Behavior

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 30 13:14:23 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51821

--- Comment #1 from algebro at tuta.io ---
Created attachment 70705
  --> https://bugs.winehq.org/attachment.cgi?id=70705
LoadLibraryTest

This POC reproduces the behavior accurately I believe. It attempts to load the
library with a relative path and dwFlags 8. On Windows, it loads successfully
if ran from a parent directory:

bin64\LoadLibraryTest.exe
Full path name: C:\EVE\SharedCache\sisi\launchdarkly_client.pyd
Attempting to load launchdarkly_client.pyd
Module loaded successfully

On Linux with Wine 6.16, it fails:

wine ./bin64/LoadLibraryTest.exe 
Full path name: C:\EVE\SharedCache\sisi\launchdarkly_client.pyd
Attempting to load launchdarkly_client.pyd
Module failed to load

I can't share the actual module due to copyright/drm issues, but you should be
able to test it with any shared library I imagine.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list