mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 20:57:39 +02:00
Allow stack functions to return None as a failure response.
This commit is contained in:
@@ -45,8 +45,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface):
|
||||
stacker = stacker_cls()
|
||||
try:
|
||||
new_layer = stacker.stack(new_context, current_layer_name)
|
||||
new_context.memory.add_layer(new_layer)
|
||||
break
|
||||
if new_layer:
|
||||
new_context.memory.add_layer(new_layer)
|
||||
break
|
||||
except Exception as excp:
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user