summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-12-11 10:31:20 +0000
committerAlexander Bokovoy <ab@samba.org>2003-12-11 10:31:20 +0000
commitef1c713322ea1f4e994c262192f1b8c3518cc8c7 (patch)
tree7d4d908ea4b7b9c60546e4b8911bba7f94ce6a0f /source3/passdb
parent1959428a00d5b6b41e2fc741841ba16e98926b96 (diff)
downloadsamba-ef1c713322ea1f4e994c262192f1b8c3518cc8c7.tar.gz
samba-ef1c713322ea1f4e994c262192f1b8c3518cc8c7.tar.bz2
samba-ef1c713322ea1f4e994c262192f1b8c3518cc8c7.zip
Fix uninitialized variable in passdb code. Reported by Andy Polyakov <appro@fy.chalmers.se>
(This used to be commit ca21dd3bb682700d628e9fc1aeedd1594cda3094)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index b0c2430c09..f4acb2fbf6 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -1249,7 +1249,7 @@ BOOL local_sid_to_gid(gid_t *pgid, const DOM_SID *psid, enum SID_NAME_USE *name_
the GROUP_MAP object */
become_root();
- pdb_getgrsid(&group, *psid);
+ ret = pdb_getgrsid(&group, *psid);
unbecome_root();
if ( !ret ) {