mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-08 18:57:38 +02:00
Properly decode values from ELF files even with partial smear
This commit is contained in:
@@ -446,7 +446,7 @@ class elf_linkmap(objects.StructType):
|
||||
idx = buf.find(b"\x00")
|
||||
if idx != -1:
|
||||
buf = buf[:idx]
|
||||
return buf.decode()
|
||||
return buf.decode("utf-8", errors="ignore")
|
||||
|
||||
|
||||
class_types = {
|
||||
|
||||
Reference in New Issue
Block a user