git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a07f0
)
s3-passdb Initialise the correct level of pointer dereference
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 8 Nov 2011 21:11:32 +0000
(08:11 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 9 Nov 2011 22:38:25 +0000
(23:38 +0100)
*pp_rmap may be NULL or un-initialised data.
This was introduced by
995d1567265be178b4e45f79ea4562a7041ffa52
.
Andrew Bartlett
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index b59eeb9a7e7a6a8a178f282da69f451f7660a94f..a89af8051b6e635e9556ea5fa41cf3e8825ed6b4 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-3486,7
+3486,7
@@
static NTSTATUS ldapsam_enum_group_mapping(struct pdb_methods *methods,
size_t entries = 0;
*p_num_entries = 0;
- *
*
pp_rmap = NULL;
+ *pp_rmap = NULL;
if (!NT_STATUS_IS_OK(ldapsam_setsamgrent(methods, False))) {
DEBUG(0, ("ldapsam_enum_group_mapping: Unable to open "