Skip to content

Commit

Permalink
Merge pull request #1461 from volatilityfoundation/issues/issue1441
Browse files Browse the repository at this point in the history
Layers: Fix MSF page len on a possibly uninitialized variable
  • Loading branch information
ikelos authored Dec 23, 2024
2 parents 8e851c4 + f6f4c7b commit 9b27f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility3/framework/layers/msf.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __init__(
) -> None:
super().__init__(context, config_path, name, metadata)
self._base_layer = self.config["base_layer"]
self._pages = self.config.get("pages", None)
self._pages = self.config.get("pages", [])
self._pages_len = len(self._pages)
if not self._pages:
raise PDBFormatException(name, "Invalid/no pages specified")
Expand Down

0 comments on commit 9b27f5e

Please sign in to comment.