mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-0 Correct NPE during import when no opinion exists (Closes #5258)
This commit is contained in:
@@ -121,7 +121,7 @@ public class LanguageSortedTableModel extends AbstractSortedTableModel<LanguageC
|
||||
}
|
||||
|
||||
public int getFirstLcsPairIndex(LanguageCompilerSpecPair toFind) {
|
||||
if (languageList != null) {
|
||||
if (toFind != null && languageList != null) {
|
||||
int index = 0;
|
||||
for (LanguageCompilerSpecPair pair : languageList) {
|
||||
if (pair.equals(toFind)) {
|
||||
|
||||
Reference in New Issue
Block a user