mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 01:58:33 -05:00
Fix ITS#1572, check for NULL objectClass in is_entry_objectclass
This commit is contained in:
parent
cb88cae005
commit
38d0af5399
1 changed files with 4 additions and 2 deletions
|
|
@ -93,7 +93,9 @@ int is_entry_objectclass(
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
e->e_ocflags |= objectClass->soc_flags;
|
if ( objectClass != NULL ) {
|
||||||
|
e->e_ocflags |= objectClass->soc_flags;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
e->e_ocflags |= SLAP_OC__END; /* We've finished this */
|
e->e_ocflags |= SLAP_OC__END; /* We've finished this */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue