Skip to content

Commit

Permalink
explicit None check
Browse files Browse the repository at this point in the history
  • Loading branch information
Abyss-W4tcher committed Jan 18, 2025
1 parent cc9486c commit 3b679cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility3/framework/plugins/linux/modxview.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _generator(self):
for module in run_results[plugin_name]:
# Use offsets as unique keys, whether a module
# appears in many plugin runs or not
if aggregated_modules.get(module.vol.offset):
if aggregated_modules.get(module.vol.offset, None) is not None:
# Append the plugin to the list of originating plugins
aggregated_modules[module.vol.offset][1].append(plugin_name)
else:
Expand Down

0 comments on commit 3b679cb

Please sign in to comment.