diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-12-11 10:24:43 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-12-11 10:24:43 +0000 |
commit | 05fcb6927028a6dd3e4029a0bf95821c3f246475 (patch) | |
tree | ff8379b570b37d7af24c5a73f7c349a289b61b83 | |
parent | 572ac5fea9f9406f7671741e61dcd372142441de (diff) | |
download | samba-05fcb6927028a6dd3e4029a0bf95821c3f246475.tar.gz samba-05fcb6927028a6dd3e4029a0bf95821c3f246475.tar.bz2 samba-05fcb6927028a6dd3e4029a0bf95821c3f246475.zip |
Fix uninitialized variable in passdb code. Reported by Andy Polyakov <appro@fy.chalmers.se>
(This used to be commit ac7a60abf2c465b518a3eb7502fa8eee767c8b22)
-rw-r--r-- | source3/passdb/passdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |