mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 22:48:08 -05:00
GP-1778 corrected AddressRangeMapDB coalescing bug
This commit is contained in:
@@ -701,7 +701,7 @@ public class AddressRangeMapDB implements DBListener {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (paintStart.isSuccessor(recordEnd) || paintStart.compareTo(recordEnd) <= 0) {
|
||||
if (recordEnd.isSuccessor(paintStart) || paintStart.compareTo(recordEnd) <= 0) {
|
||||
// otherwise, merge by deleting previous record and changing start to record's start
|
||||
rangeMapTable.deleteRecord(record.getKey());
|
||||
return recordStart;
|
||||
|
||||
Reference in New Issue
Block a user