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

ITS#4648 ffrom HEAD

parent 5347d336
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,10 @@ ldap_pvt_put_filter( BerElement *ber, const char *str_in )
parens--;
break;
case '(':
rc = -1;
goto done;
default:
Debug( LDAP_DEBUG_TRACE, "put_filter: simple\n",
0, 0, 0 );
......@@ -497,9 +501,11 @@ ldap_pvt_put_filter( BerElement *ber, const char *str_in )
str = next;
break;
}
if ( !parens )
break;
}
rc = parens ? -1 : 0;
rc = ( parens || *str ) ? -1 : 0;
done:
LDAP_FREE( freeme );
......
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