From fbd70438a0cac065b5fe2db6d28d7fe52b019926 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Jul 2017 00:49:56 +0100 Subject: [PATCH] Slightly more error checking. --- volatility/framework/automagic/stacker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility/framework/automagic/stacker.py b/volatility/framework/automagic/stacker.py index c950dde9c..008891883 100644 --- a/volatility/framework/automagic/stacker.py +++ b/volatility/framework/automagic/stacker.py @@ -46,6 +46,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): if unsatisfied: vollog.info("Unable to run LayerStacker, unsatisfied requirement: {}".format(unsatisfied)) return unsatisfied + if 'single_location' not in self.config: + vollog.info("Unable to run LayerStacker, single_location parameter not provided") + return [] location = self.config["single_location"] if not location: vollog.info("Unable to run LayerStacker, single_location parameter not provided")