Merge pull request #8270 from theotherjimmy/fix-7392

Tools: Ensure vtor reserved bits are all 0
pull/8253/merge
Cruz Monrreal 2018-10-11 10:12:25 -05:00 committed by GitHub
commit 6e8d9f0099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ class Config(object):
size = self._header_size(header_format)
region = Region("header", start, size, False, None)
start += size
start = ((start + 7) // 8) * 8
start = ((start + (2**7 - 1)) // (2**7)) * (2**7)
return (start, region)
@staticmethod