Commit 5a487771 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

import fix to ITS#5090

parent 6e8ee224
......@@ -5,6 +5,7 @@ OpenLDAP 2.3.38 Engineering
Fixed slapd select_backend/ManageDSAit (ITS#4986)
Fixed slapd integer/pointer types and overflow (ITS#5035)
Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057)
Fixed slapd LDIF parsing error handling (ITS#5090)
Fixed slapd syncrepl searchbase scope (ITS#5073)
Fixed slapd-bdb missing index warning (ITS#5037)
Fixed slapd-bdb Quick index for ID 0 (ITS#5052)
......
......@@ -278,6 +278,14 @@ str2entry2( char *s, int checkvals )
if ( i == lines ) break;
}
if ( BER_BVISNULL( &vals[i] ) ) {
Debug( LDAP_DEBUG_ANY,
"str2entry: attributeType %s #%d: "
"no values\n",
ad->ad_cname.bv_val, attr_cnt, 0 );
goto fail;
}
if( slapMode & SLAP_TOOL_MODE ) {
struct berval pval;
slap_syntax_validate_func *validate =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment