From ef1c713322ea1f4e994c262192f1b8c3518cc8c7 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 11 Dec 2003 10:31:20 +0000 Subject: Fix uninitialized variable in passdb code. Reported by Andy Polyakov (This used to be commit ca21dd3bb682700d628e9fc1aeedd1594cda3094) --- source3/passdb/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/passdb/passdb.c') 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 ) { -- cgit