Skip to content
Snippets Groups Projects
Commit 0715e29a authored by Mark Valence's avatar Mark Valence
Browse files

Fix uninitialized var bug.

parent dc1e5a93
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment