about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-03-10 14:01:14 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-03-12 16:41:27 +0000
commite4129c4c780cc4476ecc65ec13ab8399a3bd9778 (patch)
tree02a8a5247f6313c10af628c44564acb344cf2896 /lib
parent1447ca699f2885fcb1292e40dbfdb46a49c0ea89 (diff)
downloadklee-e4129c4c780cc4476ecc65ec13ab8399a3bd9778.tar.gz
Fixed unitialised memory in `MergeHandler`
Add missing initialisation for `closedMean` for `MergeHandler`
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/MergeHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/MergeHandler.cpp b/lib/Core/MergeHandler.cpp
index 91cd5eb6..5832c0d8 100644
--- a/lib/Core/MergeHandler.cpp
+++ b/lib/Core/MergeHandler.cpp
@@ -133,7 +133,7 @@ bool MergeHandler::hasMergedStates() {
 
 MergeHandler::MergeHandler(Executor *_executor, ExecutionState *es)
     : executor(_executor), openInstruction(es->steppedInstructions),
-      closedStateCount(0), refCount(0) {
+      closedMean(0), closedStateCount(0), refCount(0) {
   executor->mergeGroups.push_back(this);
   addOpenState(es);
 }