Skip to content

Commit 84a2233

Browse files
committed
Linux: vfsmount type: Fix type comparison
1 parent a196140 commit 84a2233

File tree

1 file changed

+1
-1
lines changed
  • volatility3/framework/symbols/linux/extensions

1 file changed

+1
-1
lines changed

volatility3/framework/symbols/linux/extensions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ def is_equal(self, vfsmount_ptr) -> bool:
12991299
bool: 'True' if the given argument points to the the same 'vfsmount'
13001300
as 'self'.
13011301
"""
1302-
if type(vfsmount_ptr) == objects.Pointer:
1302+
if isinstance(vfsmount_ptr, objects.Pointer):
13031303
return self.vol.offset == vfsmount_ptr
13041304
else:
13051305
raise exceptions.VolatilityException(

0 commit comments

Comments
 (0)