mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Fix uninitialized var bug.
This commit is contained in:
parent
dc1e5a9392
commit
0715e29ae5
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue