diff --git a/volatility/framework/objects/__init__.py b/volatility/framework/objects/__init__.py index c7760d4d3..191eb5bbe 100644 --- a/volatility/framework/objects/__init__.py +++ b/volatility/framework/objects/__init__.py @@ -329,7 +329,7 @@ class Pointer(Integer): """Determines whether the address of this pointer can be read from memory.""" layer_name = layer_name or self.vol.layer_name - return self._context.layers[layer_name].is_valid(self, self.vol.size) + return self._context.layers[layer_name].is_valid(self, self.vol.subtype.size) def __getattr__(self, attr: str) -> Any: """Convenience function to access unknown attributes by getting them