From 87bf1da424a6d611485fc9208abca763b5b0617f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 5 Apr 2019 14:50:39 +0100 Subject: [PATCH] Don't use mutable defaults. --- volatility/framework/plugins/windows/poolscanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/plugins/windows/poolscanner.py b/volatility/framework/plugins/windows/poolscanner.py index b65fe5a72..28823b335 100644 --- a/volatility/framework/plugins/windows/poolscanner.py +++ b/volatility/framework/plugins/windows/poolscanner.py @@ -161,7 +161,7 @@ class PoolScanner(plugins.PluginInterface): yield (0, (constraint.type_name, format_hints.Hex(header.vol.offset), header.vol.layer_name, name)) @staticmethod - def builtin_constraints(symbol_table: str, tags_filter: List[bytes] = []) -> List[PoolConstraint]: + def builtin_constraints(symbol_table: str, tags_filter: List[bytes] = None) -> List[PoolConstraint]: """Get built-in PoolConstraints given a list of pool tags. The tags_filter is a list of pool tags, and the associated