git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9827c2
)
r14424: another empty controls case
author
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Mar 2006 05:31:51 +0000
(
05:31
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:21 +0000
(13:57 -0500)
(This used to be commit
7d0eb678bf3649fb4e09da039dd1b716ea3df2cc
)
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 373b71d3709ea594e0897c838dd3a4e807f971e8..ccb1b74a558e06765c48ab3154c634f006a9501e 100644
(file)
--- a/
source4/libcli/ldap/ldap_controls.c
+++ b/
source4/libcli/ldap/ldap_controls.c
@@
-137,7
+137,9
@@
static BOOL decode_server_sort_request(void *mem_ctx, DATA_BLOB in, void **out)
}
}
- lssc[num] = NULL;
+ if (lssc != NULL) {
+ lssc[num] = NULL;
+ }
if (!asn1_end_tag(&data)) {
return False;