mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 03:09:36 +08:00
GP-0 added guard for empty ProgramLocator list when opening programs.
This commit is contained in:
+3
-1
@@ -661,7 +661,9 @@ public class ProgramManagerPlugin extends Plugin implements ProgramManager, Opti
|
||||
}
|
||||
|
||||
private void openProgramLocations(List<ProgramLocator> locators) {
|
||||
|
||||
if (locators.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
Set<ProgramLocator> toOpen = new LinkedHashSet<>(locators); // preserve order
|
||||
|
||||
// ensure already opened programs are visible in the tool
|
||||
|
||||
Reference in New Issue
Block a user