diff --git a/src/gui/Src/BasicView/HexDump.cpp b/src/gui/Src/BasicView/HexDump.cpp index 27adace0..85dc2a11 100644 --- a/src/gui/Src/BasicView/HexDump.cpp +++ b/src/gui/Src/BasicView/HexDump.cpp @@ -115,8 +115,7 @@ void HexDump::printDumpAt(dsint parVA, bool select, bool repaint, bool updateTab { duint wSize; auto wBase = DbgMemFindBaseAddr(parVA, &wSize); //get memory base - unsigned char test; - if(!wBase || !wSize || !DbgMemRead(wBase, &test, sizeof(test))) + if(!wBase || !wSize) return; dsint wRVA = parVA - wBase; //calculate rva int wBytePerRowCount = getBytePerRowCount(); //get the number of bytes per row