From a2eedd197287b0ba5d6e9eb104eab63c4b024958 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 13 Dec 2016 14:20:03 +0000 Subject: [PATCH] Clarify the lack of validation if jsonschema fails to import. --- volatility/schemas/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/schemas/__init__.py b/volatility/schemas/__init__.py index 0cdaa5135..28ec15e96 100644 --- a/volatility/schemas/__init__.py +++ b/volatility/schemas/__init__.py @@ -54,7 +54,7 @@ def valid(input, schema, use_cache = True): jsonschema.validate(input, schema) except ImportError: vollog.info("Dependency for validation unavailable: jsonschema") - vollog.debug("All validations will return true") + vollog.debug("All validations will report success, even with malformed input") return True except: vollog.debug("Schema validation error", exc_info = True)