Skip to content
Snippets Groups Projects
Commit 410ca3d1 authored by Luke Howard's avatar Luke Howard
Browse files

Allow mods to be NULL in slapi_int_ldapmods2modifications()

parent 8c764e8d
No related branches found
No related tags found
No related merge requests found
......@@ -3510,6 +3510,10 @@ Modifications *slapi_int_ldapmods2modifications (LDAPMod **mods)
Modifications *modlist = NULL, **modtail;
LDAPMod **modp;
if ( mods == NULL ) {
return NULL;
}
modtail = &modlist;
for( modp = mods; *modp != NULL; modp++ ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment