mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 12:15:50 +08:00
Merge branch 'GT-0_ghidra1_PR-1761_Random06457_ELF_MIPS_Options_Bug'
This commit is contained in:
+5
-3
@@ -580,9 +580,11 @@ public class MIPS_ElfExtension extends ElfExtension {
|
||||
break;
|
||||
|
||||
default:
|
||||
// consume unprocessed option description bytes
|
||||
elfLoadHelper.createData(nextOptionAddr,
|
||||
new ArrayDataType(ByteDataType.dataType, optionDataSize, 1));
|
||||
if (optionDataSize > 0) {
|
||||
// consume unprocessed option description bytes
|
||||
elfLoadHelper.createData(nextOptionAddr,
|
||||
new ArrayDataType(ByteDataType.dataType, optionDataSize, 1));
|
||||
}
|
||||
}
|
||||
|
||||
limit -= odkHeader.getLength() + optionDataSize;
|
||||
|
||||
Reference in New Issue
Block a user