From e3ef971af5a81133b9c38436805445b6f42c338b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 18 Sep 2012 15:31:26 -0700 Subject: [PATCH] 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 for finding this. Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Sep 20 05:03:54 CEST 2012 on sn-devel-104 --- 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 4743879..59bcdbb 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; } /********************************************************************** -- 1.7.7