GP-1 Correct NPE with symbol filter restore

This commit is contained in:
ghidra1 2025-09-29 09:42:53 -04:00
parent d7bfd098b9
commit 0234da5db5

View file

@ -270,8 +270,10 @@ public class NewSymbolFilter implements SymbolFilter {
for (Element child : children) {
String childName = child.getAttributeValue(Filter.NAME_ATTRIBUTE);
Filter f = filterMap.get(childName);
if (f != null) { // NOTE: filter definition may have been dropped and not found
f.restoreFromXml(child);
}
}
rebuildActiveFilters();
}