about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2014-07-04 23:10:50 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2014-07-04 23:10:50 +0100
commit75f71cf58f8bea99a22228925e44fd2b330e4007 (patch)
treecd119f23e5577fbbb6b8abaf888273616f5c88e0 /lib
parent6ae1a8a7d100019a97b96ad9bd0dcba273c6f7e8 (diff)
parentbebc77433b86a2e9a38847c3189d63ca84f90e99 (diff)
downloadklee-75f71cf58f8bea99a22228925e44fd2b330e4007.tar.gz
Merge pull request #133 from delcypher/fix_empty_error_report
Fix regression reported by Michael Esser and Andrew Watson
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/Executor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index fcdf8a6d..f31d6aeb 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2808,7 +2808,8 @@ void Executor::terminateStateOnError(ExecutionState &state,
     std::string info_str = info.str();
     if (info_str != "")
       msg << "Info: \n" << info_str;
-    interpreterHandler->processTestCase(state, MsgString.c_str(), suffix);
+
+    interpreterHandler->processTestCase(state, msg.str().c_str(), suffix);
   }
     
   terminateState(state);