From d68b94965cf30c5e67b543e65fbd8b75c0c3d647 Mon Sep 17 00:00:00 2001 From: Michael Ligh Date: Sun, 24 Feb 2019 17:14:28 -0600 Subject: [PATCH] catch TypeError in _FILE_OBJECT.file_name_with_device(). this avoids an exception trying to combine a str with renderers.UnreadableValue() --- volatility/framework/symbols/windows/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/symbols/windows/extensions/__init__.py b/volatility/framework/symbols/windows/extensions/__init__.py index c330ea85a..8a77d662f 100644 --- a/volatility/framework/symbols/windows/extensions/__init__.py +++ b/volatility/framework/symbols/windows/extensions/__init__.py @@ -452,7 +452,7 @@ class _FILE_OBJECT(objects.Struct, ExecutiveObject): try: name += self.FileName.String - except exceptions.PagedInvalidAddressException: + except (TypeError, exceptions.PagedInvalidAddressException): pass return name