mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 10:17:38 +02:00
Fix up small but significant typo.
When asking for data with padding, the padding was guaranteed to always be at the end without spaces between pages.
This commit is contained in:
@@ -350,7 +350,7 @@ class TranslationLayerInterface(DataLayerInterface, metaclass = ABCMeta):
|
||||
"Layer {} cannot map offset: {}".format(self.name,
|
||||
current_offset))
|
||||
elif offset > current_offset:
|
||||
output += [b"\x00" * (current_offset - offset)]
|
||||
output += [b"\x00" * (offset - current_offset)]
|
||||
current_offset = offset
|
||||
elif offset < current_offset:
|
||||
raise exceptions.LayerException("Mapping returned an overlapping element")
|
||||
|
||||
Reference in New Issue
Block a user