diff --git a/volatility/framework/layers/registry.py b/volatility/framework/layers/registry.py index 1146bc14c..0c6be6bae 100644 --- a/volatility/framework/layers/registry.py +++ b/volatility/framework/layers/registry.py @@ -80,10 +80,9 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface): try: if self._base_block.Length > 0: return self._base_block.RootCell - else: - return 0x20 except InvalidAddressException: - return 0x20 + pass + return 0x20 def get_cell(self, cell_offset: int) -> 'objects.Struct': """Returns the appropriate Cell value for a cell offset"""