mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 06:06:31 +08:00
GP-0 Bug fix in EnumDB
This commit is contained in:
+2
@@ -895,6 +895,8 @@ class EnumDB extends DataTypeDB implements Enum {
|
||||
public int getMinimumPossibleLength() {
|
||||
lock.acquire();
|
||||
try {
|
||||
checkIsValid();
|
||||
initializeIfNeeded();
|
||||
if (valueMap.isEmpty()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user