mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
DB-1283 corrected copyField to preserve null state for PrimitiveField's
This commit is contained in:
parent
497fe46d19
commit
17c6f5b1e8
9 changed files with 38 additions and 1 deletions
|
@ -126,6 +126,11 @@ public class FixedField10 extends FixedField {
|
|||
|
||||
@Override
|
||||
public FixedField copyField() {
|
||||
if (isNull()) {
|
||||
FixedField10 copy = new FixedField10();
|
||||
copy.setNull();
|
||||
return copy;
|
||||
}
|
||||
return new FixedField10(hi8, lo2, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue