From 5e9b2306d41994ceeb0d1c7dca66ce13c8f43100 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 31 Jul 2017 16:34:02 +0100 Subject: [PATCH] Ensure symbol tables are created with unique names. --- volatility/framework/interfaces/configuration.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility/framework/interfaces/configuration.py b/volatility/framework/interfaces/configuration.py index b4bf8ef2e..45fc86802 100644 --- a/volatility/framework/interfaces/configuration.py +++ b/volatility/framework/interfaces/configuration.py @@ -587,7 +587,10 @@ class SymbolRequirement(ConstructableRequirementInterface): # Determine the space name name = self.name if name in context.symbol_space: - raise ValueError("Symbol space already contains a SymbolTable by the same name") + index = 2 + while name in context.symbol_space: + name = self.name + str(index) + index += 1 config_path = path_join(config_path, self.name) args = {"context": context,