Skip to content
Snippets Groups Projects
Commit 4067c989 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8997 - Fix segfault by setting return code value

Fix case with back-ldap where an entry was returned but didn't match the filter being applied by setting the return code value before dropping to cleanup.
parent cb24b6ec
No related branches found
No related tags found
No related merge requests found
......@@ -1006,6 +1006,7 @@ retry:
e = ldap_first_entry( lc->lc_ld, result );
if ( e == NULL ) {
/* the entry exists, but it doesn't match the filter? */
rc = LDAP_NO_RESULTS_RETURNED;
goto cleanup;
}
......
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