diff options
author | Volker Lendecke <vl@samba.org> | 2012-09-18 15:31:26 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-09-20 05:03:54 +0200 |
commit | 03055af9b2af8a5a1c23946369a21d6437cf1b8c (patch) | |
tree | 675e9b5642284cdc9db627e23cad85bec29f2e7a | |
parent | f43498b7590e33f2c8939c4f04781068674335af (diff) | |
download | samba-03055af9b2af8a5a1c23946369a21d6437cf1b8c.tar.gz samba-03055af9b2af8a5a1c23946369a21d6437cf1b8c.tar.bz2 samba-03055af9b2af8a5a1c23946369a21d6437cf1b8c.zip |
s3: Fix idmap_hash
Calling be_init with NULL safely crashes, because we dereference NULL. We
don't need to call it here, this is called in all workers anyway. Thanks
to Jiri Sasek <jiri.sasek@oracle.com> for finding this.
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Sep 20 05:03:54 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/winbindd/idmap_hash/idmap_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c index cb518a8c60..bff1e9e3fa 100644 --- a/source3/winbindd/idmap_hash/idmap_hash.c +++ b/source3/winbindd/idmap_hash/idmap_hash.c @@ -259,7 +259,7 @@ done: static NTSTATUS nss_hash_init(struct nss_domain_entry *e ) { - return be_init(NULL); + return NT_STATUS_OK; } /********************************************************************** |