mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-1 Correct NPE with symbol filter restore
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user