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:
85e1975
)
r24248: Attempt to fix bug #4830 by <mwallnoefer@yahoo.de>. If there is no
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 6 Aug 2007 04:07:05 +0000
(
04:07
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:01:30 +0000
(15:01 -0500)
payload to the control, we still need to inialise *value, as otherwise
we read uninitialised data later.
Andrew Bartlett
(This used to be commit
f6566480b7f1b4036b38284aa539f3a69f5c4573
)
source4/libcli/ldap/ldap_controls.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap_controls.c
b/source4/libcli/ldap/ldap_controls.c
index 4f76c7315b24f995e16230bd81c3a366eb3db444..3a5d14c0c939df8e4f94154a4dec6be5ffa24ec4 100644
(file)
--- a/
source4/libcli/ldap/ldap_controls.c
+++ b/
source4/libcli/ldap/ldap_controls.c
@@
-1143,6
+1143,7
@@
BOOL ldap_decode_control_wrapper(void *mem_ctx, struct asn1_data *data, struct l
ctrl->data = NULL;
if (!asn1_peek_tag(data, ASN1_OCTET_STRING)) {
+ *value = data_blob(NULL, 0);
goto end_tag;
}