From e4f0a8b8d9823bf8bd278bbb999b1f933dc145c8 Mon Sep 17 00:00:00 2001 From: tomcw Date: Tue, 17 Sep 2019 19:17:30 +0100 Subject: [PATCH] Debugger: fix crash in ParseSymbolTable() due to PR #687 --- source/Debugger/Debugger_Symbols.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Debugger/Debugger_Symbols.cpp b/source/Debugger/Debugger_Symbols.cpp index f1fb5364..811d36ea 100644 --- a/source/Debugger/Debugger_Symbols.cpp +++ b/source/Debugger/Debugger_Symbols.cpp @@ -665,7 +665,7 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym // TODO: Must check for buffer overflow ! ConsolePrintFormat( sText, "%s%s" , CHC_PATH - , pPathFileName + , pPathFileName.c_str() ); } @@ -721,7 +721,7 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym , CHC_STRING , g_aSymbolTableNames[ iTable ] , CHC_DEFAULT - , pPathFileName + , pPathFileName.c_str() ); }