Skip to content

Commit

Permalink
making sure that object_type's are strings. see issue #40
Browse files Browse the repository at this point in the history
  • Loading branch information
gleeda committed Jul 17, 2014
1 parent 0610978 commit 7ce940a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility/plugins/overlays/windows/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def get_object_type(self):
"""Return the object's type as a string"""
type_obj = obj.Object("_OBJECT_TYPE", self.Type, self.obj_native_vm)

return type_obj.Name.v()
return str(type_obj.Name or '')

def is_valid(self):
if not obj.CType.is_valid(self):
Expand Down

0 comments on commit 7ce940a

Please sign in to comment.