commit | b8deee0eec8beac962ad489daf9ee6372e278429 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Mon Sep 12 21:00:06 2016 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Mon Sep 12 21:00:06 2016 +0000 |
tree | 9b89a0e874b5165fee0c18491aae54dd2fbf47a5 | |
parent | 16cbc4fde2f76fa15961ab540623c3aaec7d4b93 [diff] |
security: initialize transform::Downstream::m_index This avoids use of uninitialised value in Security/Transform/TestBoolSink/Basic test case. refs #3763 Change-Id: If24929d4c85d3a803d3901acb7cc4db6d7cd7798
diff --git a/src/security/transform/transform-base.cpp b/src/security/transform/transform-base.cpp index 60e967b..b04c3f5 100644 --- a/src/security/transform/transform-base.cpp +++ b/src/security/transform/transform-base.cpp
@@ -33,6 +33,7 @@ Downstream::Downstream() : m_isEnd(false) + , m_index(0) { }
diff --git a/src/security/transform/transform-base.hpp b/src/security/transform/transform-base.hpp index b7a4561..94fd43c 100644 --- a/src/security/transform/transform-base.hpp +++ b/src/security/transform/transform-base.hpp
@@ -219,7 +219,6 @@ isOutputBufferEmpty() const; private: - /** * @brief Abstraction of data processing in an intermediate module */