mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
don't core if out value is NULL (log error instead; in partial fulfilment of ITS#4644)
This commit is contained in:
parent
a05a8972b2
commit
ea3ffdd135
@ -1412,7 +1412,8 @@ dnX509normalize( void *x509_name, struct berval *out )
|
||||
int rc = ldap_X509dn2bv( x509_name, out, LDAPDN_rewrite, 0 );
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"dnX509Normalize: <%s>\n", out->bv_val, 0, 0 );
|
||||
"dnX509Normalize: <%s> (%d)\n",
|
||||
BER_BVISNULL( out ) ? "(null)" : out->bv_val, rc, 0 );
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user