From a7184af37b0f787a978925aa0e4acaa7b7d2b75f Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Sat, 7 Feb 2015 15:21:54 +0100 Subject: [PATCH] core/sal: uninitialized BochsController member False positive, nevertheless worth fixing. Found by Coverity Scan, CID 25723. Change-Id: Ia4f1eb033d7cc8c20889280a59d8973ecf768933 --- src/core/sal/bochs/BochsController.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sal/bochs/BochsController.cc b/src/core/sal/bochs/BochsController.cc index a6decf86..f527c1e1 100644 --- a/src/core/sal/bochs/BochsController.cc +++ b/src/core/sal/bochs/BochsController.cc @@ -18,7 +18,7 @@ bx_bool interrupt_injection_request = false; BochsController::BochsController() : SimulatorController(new BochsMemoryManager()), - m_CPUContext(NULL), m_CurrentInstruction(NULL) + m_CurrFlow(NULL), m_CPUContext(NULL), m_CurrentInstruction(NULL) { for (unsigned i = 0; i < BX_SMP_PROCESSORS; i++) addCPU(new ConcreteCPU(i));