https://bugs.winehq.org/show_bug.cgi?id=54690
Bug ID: 54690 Summary: ldp.exe crashes when attempting to connect to an invalid host Product: Wine Version: 8.3 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 74201 --> https://bugs.winehq.org/attachment.cgi?id=74201 WINEDEBUG=+wldap32
ldp.exe is Microsoft's GUI LDAP client, which was part of the Windows XP Service Pack 2 Support Tools and is still available on Windows 10 by installing the Windows feature "Active Directory Lightweight Directory Services".
Steps to reproduce:
1. Create a 32-bit Wine bottle and set the Windows version to XP.
2. Run `winetricks mfc42`.
3. Run `wine WindowsXP-KB838079-SupportTools-ENU.exe`.
4. Run `wine 'C:\Program Files\Support Tools\ldp.exe'`.
5. Click Connection > Connect, leave "Server" blank, and click OK.
At this point, ldp.exe crashes. However, the program does not crash if a valid LDAP server is entered.
$ sha256sum WindowsXP-KB838079-SupportTools-ENU.exe 7927e87af616d2fb8d4ead0db0103eb845a4e6651b20a5bffea9eebc3035c24d