git.samba.org
/
nivanova
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4/ldap: Fix nested searches SEGFAULT bug
[nivanova/samba.git]
/
source4
/
libcli
/
ldap
/
ldap_client.h
diff --git
a/source4/libcli/ldap/ldap_client.h
b/source4/libcli/ldap/ldap_client.h
index 084de2e6dc3cac59d7b27321494957ff42aa464b..d6ca29f8a7dac13ef2ca5cd427fd3c5e6825b732 100644
(file)
--- a/
source4/libcli/ldap/ldap_client.h
+++ b/
source4/libcli/ldap/ldap_client.h
@@
-37,6
+37,10
@@
struct ldap_request {
int num_replies;
struct ldap_message **replies;
+ /* mark while we are processing replies
+ * in request of type LDAP_TAG_SearchRequest */
+ bool in_dispatch_replies;
+
NTSTATUS status;
DATA_BLOB data;
struct {