Skip to content

Commit

Permalink
GP-1778 corrected AddressRangeMapDB coalescing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidra1 committed May 4, 2022
1 parent 17c0b78 commit 323935e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ private Address checkRecordBeforeRange(Address paintStart, Address paintEnd, Fie
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;
Expand Down

0 comments on commit 323935e

Please sign in to comment.