You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run this command it crashes with segmentation fault.
Curl binary is built from master but it is same in 8.5.0. According to my findings, it is related with openldap.c. It doesn't happen with ldap.c. It doesn't happen when i use ldaps.
Console output at the segmentation fault.
* Trying 172.16.43.167:389...
* Connected to 172.16.43.167 (172.16.43.167) port 389
* LDAP local: ldap://172.16.43.167:389/DC=corp,DC=sunnyvalley,DC=io
Why does it crash ?
At this lineli->send is NULL so it gives segmentation fault.
Core file with binary (ubuntu 22.04) (commit: 9faeebc)
I did this
When i run this command it crashes with segmentation fault.
8.5.0
. According to my findings, it is related withopenldap.c
. It doesn't happen withldap.c
. It doesn't happen when i useldaps
.Console output at the segmentation fault.
Why does it crash ?
At this line
li->send
isNULL
so it gives segmentation fault.Core file with binary (ubuntu 22.04) (commit:
9faeebc
)core-dump-commit-9faeebca883b3d8a57ca291e4f1b80382e236b5a.zip
I expected the following
Working without crash. If it doesn't support
ldap
andldaps
in the same binary, it can give helpful message and exit gracefully.curl/libcurl version
curl 8.6.0-DEV (Linux) libcurl/8.6.0-DEV OpenSSL/3.0.2 zlib/1.2.11 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) OpenLDAP/2.5.16
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets
operating system
Linux ozanc-dev 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: