mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -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
|
|
@ -92,8 +92,10 @@ int is_entry_objectclass(
|
|||
if ( objectClass == oc && !set_flags ) {
|
||||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue