From 70e101ff90f4537260a35e389f3424cf0c69c5cf Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 27 Mar 2025 14:13:25 +0000 Subject: [PATCH] Potential fix for code scanning alert no. 407: First argument to super() is not enclosing class Think this is more correct Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- volatility3/framework/deprecation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index b9b84f001..859a32bad 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -136,4 +136,4 @@ class PluginRenameClass: else: if not attr.startswith("__"): setattr(cls, attr, value) - return super(replacement_class).__init_subclass__(**kwargs) + return super(PluginRenameClass).__init_subclass__(**kwargs)