summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_hash
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-09-18 15:31:26 -0700
committerVolker Lendecke <vl@samba.org>2012-09-20 05:03:54 +0200
commit03055af9b2af8a5a1c23946369a21d6437cf1b8c (patch)
tree675e9b5642284cdc9db627e23cad85bec29f2e7a /source3/winbindd/idmap_hash
parentf43498b7590e33f2c8939c4f04781068674335af (diff)
downloadsamba-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
Diffstat (limited to 'source3/winbindd/idmap_hash')
-rw-r--r--source3/winbindd/idmap_hash/idmap_hash.c2
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;
}
/**********************************************************************