[SCM] Samba Shared Repository - branch master updated
Uri Simchoni
uri at samba.org
Tue Apr 12 09:40:03 UTC 2016
The branch, master has been updated
via e6ed803 tdb mutex check: Fix CID 1358473 Uninitialized scalar variable
from acf6deb tdb: version 1.3.9
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit e6ed803a3ba8df05271fd12f1bc7abf667e27a86
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 12 07:49:40 2016 +0200
tdb mutex check: Fix CID 1358473 Uninitialized scalar variable
This comes via a "goto cleanup" before suspend_mask is initialized
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Uri Simchoni <uri at samba.org>
Autobuild-User(master): Uri Simchoni <uri at samba.org>
Autobuild-Date(master): Tue Apr 12 11:39:35 CEST 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
lib/tdb/common/mutex.c | 2 ++
1 file changed, 2 insertions(+)
Changeset truncated at 500 lines:
diff --git a/lib/tdb/common/mutex.c b/lib/tdb/common/mutex.c
index d8167be..c212842 100644
--- a/lib/tdb/common/mutex.c
+++ b/lib/tdb/common/mutex.c
@@ -786,6 +786,8 @@ _PUBLIC_ bool tdb_runtime_check_for_robust_mutexes(void)
initialized = true;
+ sigemptyset(&suspend_mask);
+
ok = tdb_mutex_locking_supported();
if (!ok) {
return false;
--
Samba Shared Repository
More information about the samba-cvs
mailing list