summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-09 08:11:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-09 23:38:25 +0100
commit1fb836d86314ee57519f4bf3247ca58dde70d9df (patch)
treef95a6c6d412006e0d5dac558f00dd32c8f7d41f1 /source3
parentf4a07f0b819b1fb669e436f91c34e61d0ec8ff92 (diff)
downloadsamba-1fb836d86314ee57519f4bf3247ca58dde70d9df.tar.gz
samba-1fb836d86314ee57519f4bf3247ca58dde70d9df.tar.bz2
samba-1fb836d86314ee57519f4bf3247ca58dde70d9df.zip
s3-passdb Initialise the correct level of pointer dereference
*pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index b59eeb9a7e..a89af8051b 100644
--- 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 "