mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-14 08:13:10 -05:00
ITS#647 from Paul R. Turgyan <pturgyan@umich.edu>
When calling ldap_search looking for "supportedSASLMechanisms", a NULL string should be passed to ldap_search and not a NULL pointer.
This commit is contained in:
parent
0f26784569
commit
b33f8b75d3
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ ldap_pvt_sasl_getmechs ( LDAP *ld, char **pmechlist )
|
|||
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_pvt_sasl_getmech\n", 0, 0, 0 );
|
||||
|
||||
rc = ldap_search_s( ld, NULL, LDAP_SCOPE_BASE,
|
||||
rc = ldap_search_s( ld, "", LDAP_SCOPE_BASE,
|
||||
NULL, attrs, 0, &res );
|
||||
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue