https://bugs.winehq.org/show_bug.cgi?id=54702
Bug ID: 54702 Summary: ldp.exe crashes when attempting to add an entry without a name Product: Wine Version: 8.4 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 74210 --> https://bugs.winehq.org/attachment.cgi?id=74210 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 `docker run --detach -p1389:1389 bitnami/openldap`
5. Run `wine 'C:\Program Files\Support Tools\ldp.exe'`.
6. Click Connection > Connect, enter "localhost" for "Server" and "1389" for "Port", check "Bind with default credentials", and click OK.
7. Click Browse > Add, leave everything blank, and click Run.
At this point, ldp.exe crashes. However, the program does not crash if you enter some Distinguished Name (DN) in the Add dialog, whether the DN is valid or not.
$ sha256sum WindowsXP-KB838079-SupportTools-ENU.exe 7927e87af616d2fb8d4ead0db0103eb845a4e6651b20a5bffea9eebc3035c24d
https://bugs.winehq.org/show_bug.cgi?id=54702
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=54663, | |https://bugs.winehq.org/sho | |w_bug.cgi?id=54690 URL| |https://web.archive.org/web | |/20070104163903/https://dow | |nload.microsoft.com/downloa | |d/d/3/8/d38066aa-4e37-4ae8- | |bce3-a4ce662b2024/WindowsXP | |-KB838079-SupportTools-ENU. | |exe
https://bugs.winehq.org/show_bug.cgi?id=54702
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- ldp.exe also crashes if you click Delete, Modify, or Compare and leave the DN blank.
https://bugs.winehq.org/show_bug.cgi?id=54702
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ldp.exe crashes when |ldp.exe crashes when |attempting to add an entry |attempting to add, delete, |without a name |modify, or compare an entry | |without a name
https://bugs.winehq.org/show_bug.cgi?id=54702
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |124e90d9e54f8d6385827a656ed | |2ddf8bc788d54
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- Fixed by:
https://gitlab.winehq.org/wine/wine/-/commit/fce0baa9b6c19d6763b126d276e119c... https://gitlab.winehq.org/wine/wine/-/commit/320c688ed3393c688717404941caf09... https://gitlab.winehq.org/wine/wine/-/commit/e9376fd18e58c6816855a96b51e20dc... https://gitlab.winehq.org/wine/wine/-/commit/124e90d9e54f8d6385827a656ed2ddf...
Thanks to Hans Leidekker for reviewing all these changes.
https://bugs.winehq.org/show_bug.cgi?id=54702
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.5.
https://bugs.winehq.org/show_bug.cgi?id=54702
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x
https://bugs.winehq.org/show_bug.cgi?id=54702
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 8.0.x milestone from bug fixes included in 8.0.2.