From 05fcb6927028a6dd3e4029a0bf95821c3f246475 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 11 Dec 2003 10:24:43 +0000 Subject: Fix uninitialized variable in passdb code. Reported by Andy Polyakov (This used to be commit ac7a60abf2c465b518a3eb7502fa8eee767c8b22) --- source3/passdb/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index cfa39685e3..616ebf2252 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