mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
GP-1 Correct NPE with symbol filter restore
This commit is contained in:
parent
d7bfd098b9
commit
0234da5db5
1 changed files with 3 additions and 1 deletions
|
@ -270,7 +270,9 @@ public class NewSymbolFilter implements SymbolFilter {
|
|||
for (Element child : children) {
|
||||
String childName = child.getAttributeValue(Filter.NAME_ATTRIBUTE);
|
||||
Filter f = filterMap.get(childName);
|
||||
f.restoreFromXml(child);
|
||||
if (f != null) { // NOTE: filter definition may have been dropped and not found
|
||||
f.restoreFromXml(child);
|
||||
}
|
||||
}
|
||||
|
||||
rebuildActiveFilters();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue