Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-6854 Corrected NPE in PropertyListMergeManager

ghidra1988fe4f54e6f
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/merge/propertylist/PropertyListMergeManager.java b/Ghidra/Features/Base/src/main/java/ghidra/app/merge/propertylist/PropertyListMergeManager.java
index 96272f4482..bf53d1e390 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/merge/propertylist/PropertyListMergeManager.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/merge/propertylist/PropertyListMergeManager.java
@@ -322,7 +322,7 @@ public class PropertyListMergeManager implements MergeResolver {
Object myValue = getValue(myList, propertyName);
Object origValue = getValue(origList, propertyName);
- if (!myValue.equals(origValue)) {
+ if (!Objects.equals(myValue, origValue)) {
setValue(resultList, propertyName, myList.getType(propertyName), myValue);
}