git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5452a3
)
tldap: Paged searches fail when they get to the end
author
Garming Sam
<garming@catalyst.net.nz>
Wed, 31 Jul 2019 01:39:13 +0000
(13:39 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 1 Aug 2019 05:01:15 +0000
(
05:01
+0000)
The normal case hit the goto label, and should have just returned.
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029
source3/lib/tldap_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap_util.c
b/source3/lib/tldap_util.c
index bdf8eb031a5a59035be366b12cc47192659b68d0..1b86962a32efd7e18bfee870bb3b95752b52bef2 100644
(file)
--- a/
source3/lib/tldap_util.c
+++ b/
source3/lib/tldap_util.c
@@
-810,7
+810,8
@@
static void tldap_search_paged_done(struct tevent_req *subreq)
}
tevent_req_set_callback(subreq, tldap_search_paged_done, req);
- err:
+ return;
+err:
TALLOC_FREE(asn1);
tevent_req_ldap_error(req, TLDAP_DECODING_ERROR);