mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-21 14:02:22 +02:00
Linux: Netfilter - fix traceback on missing module name
When the module name can't be found, `None` ends up in this field, causing a traceback when rendering. This fixes it by replacing `None` with `renderers.NotAvailableValue()`. This occurred in the context of a netfilter hook from a hidden module.
This commit is contained in:
@@ -714,7 +714,7 @@ class Netfilter(interfaces.plugins.PluginInterface):
|
||||
hook_name,
|
||||
priority,
|
||||
format_hints.Hex(hook_func),
|
||||
module_name,
|
||||
module_name or renderers.NotAvailableValue(),
|
||||
str(hooked),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user