mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 04:07:39 +02:00
Comment out the HBIN size check for now
Leave a comment to ensure we get back to checking out why the hbin size check fails to only prevent bad accesses (and effectively gives false positives).
This commit is contained in:
@@ -190,8 +190,10 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface):
|
||||
hbin_offset = hbin_offset - 0x1000
|
||||
hbin = self.context.object(self._reg_table_name + constants.BANG + "_HBIN",
|
||||
offset = hbin_offset, layer_name = self._base_layer)
|
||||
if translated_offset + length > hbin_offset + hbin.Size:
|
||||
raise RegistryFormatException("Cell address outside expected HBIN")
|
||||
# FIXME: Why this check fails when everything else runs fine
|
||||
# if translated_offset + length > hbin_offset + hbin.Size and hbin.Size > 0:
|
||||
# raise RegistryFormatException("Cell address {} outside expected HBIN limit: {}".format(
|
||||
# hex(translated_offset + length), hex(hbin_offset + hbin.Size)))
|
||||
response.append((offset, translated_offset, length, self._base_layer))
|
||||
length -= length
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user