1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

jean-claude Chauve fixed an LDAP bug

This commit is contained in:
Daniel Stenberg 2004-09-22 08:01:41 +00:00
parent 2de62cb06f
commit 7676f40218
3 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,10 @@
Changelog
Daniel (22 September 2004)
- Jean-Claude Chauve fixed an LDAP crash when more than one record was
retrieved.
Daniel (19 September 2004)
- Andreas Rieke pointed out that when attempting to connect to a host without
a service on the specified port, curl_easy_perform() didn't properly provide

View File

@ -15,7 +15,8 @@ This release includes the following changes:
This release includes the following bugfixes:
o connect failures properly writes error message in errorbuffer
o LDAP crash when more than one record was received
o connect failures properly stores an error message in the errorbuffer
o Rare Location:-following problem with bad original URL
o -F can now add Content-Type on non-file sections
o double Host: header when following Location: with replaced Host: fixed

View File

@ -350,8 +350,8 @@ CURLcode Curl_ldap(struct connectdata *conn)
Curl_client_write(data, CLIENTWRITE_BODY, (char *)"\n", 1);
(*ldap_memfree)(attribute);
(*ldap_memfree)(dn);
}
(*ldap_memfree)(dn);
if (ber)
(*ber_free)(ber, 0);
}