mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Create a list_head to fix tty_check bug
This commit casts `tty_driver` to a `list_head` to fix an AttributeError in the linux tty_check plugin
This commit is contained in:
@@ -41,7 +41,7 @@ class tty_check(plugins.PluginInterface):
|
||||
self.config['vmlinux'], modules)
|
||||
|
||||
try:
|
||||
tty_drivers = vmlinux.object_from_symbol("tty_drivers")
|
||||
tty_drivers = vmlinux.object_from_symbol("tty_drivers").cast("list_head")
|
||||
except exceptions.SymbolError:
|
||||
tty_drivers = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user