mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge branch 'GT-0_ghidra1_PR-1761_Random06457_ELF_MIPS_Options_Bug'
This commit is contained in:
commit
c7cc11a18e
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue