[Bug 51274] New: adsldp:ldap crashes in Wine when LDAP has been configured on Linux

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jun 15 13:40:59 CDT 2021


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

            Bug ID: 51274
           Summary: adsldp:ldap crashes in Wine when LDAP has been
                    configured on Linux
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

adsldp:ldap crashes in Wine on cw-rx460 and cw-gtx560. The reason it crashes on
these boxes and not others is that they use LDAP for the user accounts.

https://test.winehq.org/data/patterns.html#adsldp:ldap

ldap.c:391: Test failed: got 0x80072030
Unhandled exception: page fault on read access to 0x138bec45 in 32-bit code
(0x00db86e3).
=>0 0x00db86e3 ldap_next_attributeW+0x43(ld=<couldn't compute location>,
entry=<couldn't compute location>, ptr=<couldn't compute location>)
[Z:\home\winetest\winetest\src\dlls\wldap32\misc.c:482] in wldap32 (0x0031fae8)
  1 0x645438ee search_GetNextColumnName+0x5d()
[Z:\home\winetest\winetest\src\dlls\adsldp\adsldp.c:1470] in adsldp
(0x0031fb38)

0x80072030 is ERROR_DS_NO_SUCH_OBJECT so it seems likely that the crash happens
on the IDirectorySearch_GetNextColumnName() that follows line 391:

390     hr = IDirectorySearch_ExecuteSearch(ds, (WCHAR *)L"(objectClass=*)",
NULL, ~0, &sh);
391     ok(hr == S_OK, "got %#x\n", hr);
...
 400     while (IDirectorySearch_GetNextRow(ds, sh) != S_ADS_NOMORE_ROWS)

This remains to be confirmed however.
Also it may be that this failure is unexpected and just the symptom of some
configuration issue.

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