mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 13:16:48 +08:00
GP-0 corrected CompositeDataType.setStoredPackingValue error check
This commit is contained in:
+1
-1
@@ -343,7 +343,7 @@ public abstract class CompositeDataTypeImpl extends GenericDataType implements C
|
||||
}
|
||||
|
||||
private void setStoredPackingValue(int packingValue) {
|
||||
if (minimumAlignment < NO_PACKING) {
|
||||
if (packingValue < NO_PACKING) {
|
||||
throw new IllegalArgumentException("invalid packing value: " + packingValue);
|
||||
}
|
||||
if (packingValue == this.packing) {
|
||||
|
||||
Reference in New Issue
Block a user