mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 19:46:01 +08:00
GP-1059: Fix NPE in DBTraceStack
This commit is contained in:
+3
@@ -126,6 +126,9 @@ public class DBTraceStack extends DBAnnotatedObject implements TraceStack {
|
||||
else {
|
||||
thread = manager.threadManager.getThread(threadSnap.threadKey);
|
||||
frames.clear();
|
||||
if (frameKeys == null) {
|
||||
return;
|
||||
}
|
||||
for (long k : frameKeys) {
|
||||
frames.add(manager.getFrameByKey(k));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user