mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix uninitialized var bug.
This commit is contained in:
parent
dc1e5a9392
commit
0715e29ae5
@ -63,6 +63,9 @@ ldap_dn2ufn( LDAP_CONST char *dn )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ( ( p = ldap_utf8_strpbrk( dn, "=" ) ) == NULL ) {
|
||||
return( LDAP_STRDUP( dn ) );
|
||||
}
|
||||
ufn = LDAP_STRDUP( ++p );
|
||||
|
||||
if( ufn == NULL ) return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user