mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
Merge pull request #1327 from gcmoreira/linux_vfsmount_fix_type_comparison
Linux: vfsmount type: Fix type comparison
This commit is contained in:
@@ -1299,7 +1299,7 @@ class vfsmount(objects.StructType):
|
||||
bool: 'True' if the given argument points to the the same 'vfsmount'
|
||||
as 'self'.
|
||||
"""
|
||||
if type(vfsmount_ptr) == objects.Pointer:
|
||||
if isinstance(vfsmount_ptr, objects.Pointer):
|
||||
return self.vol.offset == vfsmount_ptr
|
||||
else:
|
||||
raise exceptions.VolatilityException(
|
||||
|
||||
Reference in New Issue
Block a user