git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4828fed
)
ldapcli: allocate control value on the control object not on the control container
author
Matthieu Patou
<mat@matws.net>
Sat, 26 Feb 2011 18:07:51 +0000
(21:07 +0300)
committer
Matthieu Patou
<mat@samba.org>
Sun, 20 Mar 2011 10:27:25 +0000
(11:27 +0100)
libcli/ldap/ldap_message.c
patch
|
blob
|
history
diff --git
a/libcli/ldap/ldap_message.c
b/libcli/ldap/ldap_message.c
index 7756e731b247fd08796c0303d228dd5eaf098d22..0f542302d483067dc96733c6eab6e00366c8e4c3 100644
(file)
--- a/
libcli/ldap/ldap_message.c
+++ b/
libcli/ldap/ldap_message.c
@@
-1572,11
+1572,11
@@
_PUBLIC_ NTSTATUS ldap_decode(struct asn1_data *data,
return NT_STATUS_LDAP(LDAP_OPERATIONS_ERROR);
}
- if (!ldap_decode_control_wrapper(ctrl, data, ctrl[i], &value)) {
+ if (!ldap_decode_control_wrapper(ctrl
[i]
, data, ctrl[i], &value)) {
return NT_STATUS_LDAP(LDAP_PROTOCOL_ERROR);
}
- if (!ldap_decode_control_value(ctrl, value,
+ if (!ldap_decode_control_value(ctrl
[i]
, value,
control_handlers,
ctrl[i])) {
if (ctrl[i]->critical) {