[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-commits
Subject: [mesos] branch master updated: Fixed read of uninitialized variables detected with UBSAN.
From: asekretenko () apache ! org
Date: 2021-05-15 12:00:22
Message-ID: 162108002224.7417.17955918117704674167 () gitbox ! apache ! org
[Download RAW message or body]
This is an automated email from the ASF dual-hosted git repository.
asekretenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new add9f1d Fixed read of uninitialized variables detected with UBSAN.
add9f1d is described below
commit add9f1de771693884548095703ed2bd4bc6cfc16
Author: Charles-Francois Natali <cf.natali@gmail.com>
AuthorDate: Sat May 15 12:39:18 2021 +0100
Fixed read of uninitialized variables detected with UBSAN.
---
src/tests/cluster.hpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/tests/cluster.hpp b/src/tests/cluster.hpp
index b36b94f..eae6bcf 100644
--- a/src/tests/cluster.hpp
+++ b/src/tests/cluster.hpp
@@ -106,7 +106,8 @@ public:
void setAuthorizationCallbacks(Authorizer* authorizer);
private:
- Master() : files(master::READONLY_HTTP_AUTHENTICATION_REALM) {};
+ Master() : files(master::READONLY_HTTP_AUTHENTICATION_REALM),
+ authorizationCallbacksSet(false) {}
// Not copyable, not assignable.
Master(const Master&) = delete;
@@ -203,7 +204,8 @@ public:
void setAuthorizationCallbacks(Authorizer* authorizer);
private:
- Slave() : files(slave::READONLY_HTTP_AUTHENTICATION_REALM) {};
+ Slave() : files(slave::READONLY_HTTP_AUTHENTICATION_REALM),
+ authorizationCallbacksSet(false) {}
// Not copyable, not assignable.
Slave(const Slave&) = delete;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic