We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d912d1d commit 012cbe0Copy full SHA for 012cbe0
1 file changed
src/gui/widgets/heap_viewer.cc
@@ -126,6 +126,11 @@ PCSX::Widgets::HeapViewer::WalkResult PCSX::Widgets::HeapViewer::walkHeap(Memory
126
break;
127
}
128
129
+ if (!next) {
130
+ result.error = fmt::format("Free block at {:08x} has unreadable next pointer.", curr);
131
+ break;
132
+ }
133
+
134
freeBlocks.push_back({curr, *size});
135
prevAddr = curr;
136
curr = *next;
0 commit comments