Merge remote-tracking branch 'origin/patch'

This commit is contained in:
ghidra1 2023-06-14 15:57:35 -04:00
commit 2a97771c0f
3 changed files with 11 additions and 7 deletions

View file

@ -95,7 +95,7 @@ public abstract class AbstractLeb128DataType extends BuiltIn implements Dynamic
}
// approximate bitLength from storage byte length
int bitLength = Math.max(64, len * 7);
int bitLength = Math.min(64, len * 7);
int mod = bitLength % 8;
if (mod != 0) {
bitLength += (8 - mod);