Skip to content

Commit 7fc2af5

Browse files
committed
linux: Add an additional quick check before validating pointer readability
1 parent 8bc0452 commit 7fc2af5

File tree

1 file changed

+1
-1
lines changed
  • volatility3/framework/symbols/linux/extensions

1 file changed

+1
-1
lines changed

volatility3/framework/symbols/linux/extensions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def is_valid(self) -> bool:
313313
if not layer.is_valid(self.vol.offset, self.vol.size):
314314
return False
315315

316-
if self.pid < 0:
316+
if self.pid < 0 or self.tgid < 0:
317317
return False
318318

319319
if self.has_member("signal") and not (

0 commit comments

Comments
 (0)