1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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
This commit is contained in:
Volker Lendecke 2012-09-18 15:31:26 -07:00
parent f43498b759
commit 03055af9b2

View File

@ -259,7 +259,7 @@ done:
static NTSTATUS nss_hash_init(struct nss_domain_entry *e )
{
return be_init(NULL);
return NT_STATUS_OK;
}
/**********************************************************************