From 4b29cf1986efe172b51aae746afef4fe8b0c6271 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jun 2020 19:32:37 +0100 Subject: [PATCH] Objects: Fix incorrect pointer readability check --- volatility/framework/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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