Skip to content
Snippets Groups Projects
Commit 9b6d816f authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

handle unknown attribute type (ITS#3005)

parent f69c2498
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ backsql_id2entry( backsql_srch_info *bsi, Entry *e, backsql_entryID *eid )
}
rc = backsql_supad2at( bsi->bsi_oc, attr->an_desc, &vat );
if ( rc != 0 ) {
if ( rc != 0 || vat == NULL ) {
Debug( LDAP_DEBUG_TRACE, "backsql_id2entry(): "
"attribute '%s' is not defined "
"for objectlass '%s'\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment