[Bug 38021] New: ntdll:load_dll doesn't check for correct dll ARCH

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 6 06:18:52 CST 2015


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

            Bug ID: 38021
           Summary: ntdll:load_dll doesn't check for correct dll ARCH
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: patrick1804 at web.de
      Distribution: ---

Problem 1:
ntdll:load_dll doesn't check if the found DLL has the wrong arch. 
For example: 64bit application want's to load xinput1_3.dll.
There's a 32bit xinput1_3.dll in the same folder.

Expected behavior:
It should ignore this dll, instead of trying to open it.

Problem 2:
ntdll:load_dll doesn't check other locations for this DLL once a matching one
has been found, even when it has the wrong arch and couldn't be loaded.
For example: 64bit application want's to load xinput1_3.dll.
There's a 32bit xinput1_3.dll in the same folder.
It tries to open the file and fails. It doesn't check other folders like
System32.
The application doesn't start.

Expected behavior:
load_dll looks for 64bit xinput1_3.dll in system32 and starts.

-- 
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