Skip to content
Snippets Groups Projects
Commit 38d0af53 authored by Howard Chu's avatar Howard Chu
Browse files

Fix ITS#1572, check for NULL objectClass in is_entry_objectclass

parent cb88cae0
Branches
Tags
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment