git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
489c338
)
r14423: don't die on no controls
author
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Mar 2006 05:30:39 +0000
(
05:30
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:21 +0000
(13:57 -0500)
source/libcli/ldap/ldap.c
patch
|
blob
|
history
diff --git
a/source/libcli/ldap/ldap.c
b/source/libcli/ldap/ldap.c
index 42cad3a63edb78936108682fa1c04b316bdf7e43..c1fc461b5f69ece9f8519172ce3f9106af0b9433 100644
(file)
--- a/
source/libcli/ldap/ldap.c
+++ b/
source/libcli/ldap/ldap.c
@@
-1332,7
+1332,9
@@
BOOL ldap_decode(struct asn1_data *data, struct ldap_message *msg)
}
- ctrl[i] = NULL;
+ if (ctrl != NULL) {
+ ctrl[i] = NULL;
+ }
msg->controls = ctrl;