From 50f5a5ddb715dc2a3bafd60a75b11d65a41b87c6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 26 Oct 2016 01:16:25 +0100 Subject: [PATCH] Fix up broken vtypes that looks like it might never have worked. --- volatility/framework/symbols/vtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/framework/symbols/vtypes.py b/volatility/framework/symbols/vtypes.py index 7e633ddf7..5d4811bff 100644 --- a/volatility/framework/symbols/vtypes.py +++ b/volatility/framework/symbols/vtypes.py @@ -82,10 +82,10 @@ class VTypeSymbolTable(interfaces.symbols.SymbolTableInterface): update["target"] = self._vtypedict_to_template(dictionary[1]) elif type_name == 'Enumeration': update = copy.deepcopy(dictionary[1]) - update["target"] = self._vtypedict_to_template([update['target']]) + update["target"] = self._vtypedict_to_template(update['target']) elif type_name == 'BitField': update = dictionary[1] - update['target'] = self._vtypedict_to_template([update['native_type']]) + update['target'] = self._vtypedict_to_template(update['native_type']) native_template.update_vol(**update) # pylint: disable=W0142 return native_template