mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 20:57:39 +02:00
Objects: Fix incorrect pointer readability check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user