mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 12:17:38 +02:00
Fix major (but easily missable) bug in the configuration system.
This commit is contained in:
@@ -8,7 +8,6 @@ provide configurations values that fulfill those requirements. Where the user d
|
||||
values, automagic modules may extend the configuration tree themselves.
|
||||
"""
|
||||
|
||||
import collections.abc
|
||||
import copy
|
||||
import json
|
||||
import logging
|
||||
@@ -18,6 +17,8 @@ import sys
|
||||
import typing
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
import collections.abc
|
||||
|
||||
from volatility.framework import constants, interfaces
|
||||
from volatility.framework import validity
|
||||
from volatility.framework.interfaces.context import ContextInterface
|
||||
@@ -183,7 +184,7 @@ class HierarchicalDict(collections.abc.Mapping):
|
||||
else:
|
||||
return self._subdict[key]
|
||||
except KeyError:
|
||||
self._setitem(key = key, value = HierarchicalDict(separator = self.separator), is_data = True)
|
||||
self._setitem(key = key, value = HierarchicalDict(separator = self.separator), is_data = False)
|
||||
return HierarchicalDict()
|
||||
|
||||
def splice(self, key: str, value: 'HierarchicalDict') -> None:
|
||||
|
||||
Reference in New Issue
Block a user