Skip to content

Commit

Permalink
linux: vmcoreinfo layer: Use the version class accessor instead of th…
Browse files Browse the repository at this point in the history
…e internal class member
  • Loading branch information
gcmoreira committed Dec 19, 2024
1 parent 7858af3 commit 7ed8b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volatility3/framework/automagic/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ def _check_versions() -> bool:
# Check VMCOREINFO API version
vmcoreinfo_version_required = (1, 0, 0)
if not requirements.VersionRequirement.matches_required(
vmcoreinfo_version_required, linux.VMCoreInfo._version
vmcoreinfo_version_required, linux.VMCoreInfo.version
):
vollog.info(
"VMCOREINFO version not suitable: required %s found %s",
vmcoreinfo_version_required,
linux.VMCoreInfo._version,
linux.VMCoreInfo.version,
)
return False

Expand Down

0 comments on commit 7ed8b99

Please sign in to comment.