Skip to content

Commit ef32db6

Browse files
committed
Merge remote-tracking branch 'origin/patch'
2 parents 75492ac + b9ae621 commit ef32db6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfDefaultGotPltMarkup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ private void processDynamicPLTGOT(ElfDynamicType pltGotType, ElfDynamicType pltG
339339
return; // failed to identify first PLT entry - skip PLT processing
340340
}
341341

342-
Address pltEnd = firstPltEntryAddr.add(pltSpacing * (pltEntryCount - 1));
342+
Address pltEnd = firstPltEntryAddr.add((pltSpacing * pltEntryCount) - 1);
343343
processLinkageTable("PLT", firstPltEntryAddr, pltEnd, monitor);
344344
}
345345
catch (Exception e) {

0 commit comments

Comments
 (0)