mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 21:27:39 +02:00
Add a comment explaining why we don't truncate strings on \x00.
This commit is contained in:
@@ -138,6 +138,7 @@ class String(PrimitiveObject, str):
|
||||
layer_name = object_info.layer_name,
|
||||
offset = object_info.offset),
|
||||
**params)
|
||||
# We don't truncate on "\x00" because the string decoder does that for us
|
||||
return value
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user