From c464b299d8c67b9f555829d8e941d3a6c49d9c60 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 30 Jan 2003 13:07:18 +0000 Subject: [PATCH] Check for slapi_filter_dup() success in nested filters --- servers/slapd/slapi/slapi_utils.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5