mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 22:14:26 +08:00
GP-0 corrected bounds check for instruction length override
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ class SetLengthOverrideAction extends ListingContextAction {
|
||||
}
|
||||
}
|
||||
|
||||
if (maxLength == 1) {
|
||||
if (maxLength == 0) {
|
||||
// Assume we have an instruction whose length can't be changed
|
||||
Msg.showError(this, null, "Length Override Error",
|
||||
"Insufficient space to alter current length override of 1-byte");
|
||||
|
||||
Reference in New Issue
Block a user