From: Luke Howard Date: Thu, 30 Jan 2003 13:07:18 +0000 (+0000) Subject: Check for slapi_filter_dup() success in nested filters X-Git-Tag: NO_SLAP_OP_BLOCKS~468 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c464b299d8c67b9f555829d8e941d3a6c49d9c60;p=openldap Check for slapi_filter_dup() success in nested filters --- diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 9a528c4450..2fad26eec9 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -1401,6 +1401,8 @@ slapi_filter_dup( Slapi_Filter *filter ) pFilter = pFilter->f_next, ppF = &f->f_next ) { *ppF = slapi_filter_dup( pFilter ); + if ( *ppF == NULL ) + break; } break; }