mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#10231 slapadd: check for NULL suffix in error message
This commit is contained in:
parent
5cd67e374e
commit
8350e24c8f
@ -172,7 +172,8 @@ again:
|
||||
"database #%d (%s) not configured to hold \"%s\"",
|
||||
progname, erec->lineno,
|
||||
dbnum,
|
||||
be->be_suffix[0].bv_val,
|
||||
( be->be_suffix && be->be_suffix[0].bv_val ) ?
|
||||
be->be_suffix[0].bv_val : "(null)",
|
||||
e->e_dn );
|
||||
if ( bd ) {
|
||||
BackendDB *bdtmp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user