mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-29 13:04:58 +02:00
use masked length to extract data
This commit is contained in:
@@ -193,4 +193,4 @@ class _CM_KEY_VALUE(objects.Struct):
|
||||
|
||||
# Fall back if it's something weird
|
||||
vollog.debug("Unknown registry value type encountered: {}".format(self.Type))
|
||||
return self.Data.cast("string", max_length = self.DataLength, encoding = "latin-1")
|
||||
return self.Data.cast("string", max_length = datalen, encoding = "latin-1")
|
||||
|
||||
Reference in New Issue
Block a user