mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-24 23:22:23 +02:00
Merge pull request #837 from volatilityfoundation/issues/issue829
Windows: When constructing a buffer, manually dereference onto the native layer
This commit is contained in:
@@ -488,7 +488,7 @@ class UNICODE_STRING(objects.StructType):
|
||||
# We manually construct an object rather than casting a dereferenced pointer in case
|
||||
# the buffer length is 0 and the pointer is a NULL pointer
|
||||
return self._context.object(self.vol.type_name.split(constants.BANG)[0] + constants.BANG + 'string',
|
||||
layer_name = self.Buffer.vol.layer_name,
|
||||
layer_name = self.Buffer.vol.native_layer_name,
|
||||
offset = self.Buffer,
|
||||
max_length = self.Length, errors = 'replace', encoding = 'utf16')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user