diff --git a/dissect/volume/disk/schemes/gpt.py b/dissect/volume/disk/schemes/gpt.py index 76047f0..7bdf7c6 100644 --- a/dissect/volume/disk/schemes/gpt.py +++ b/dissect/volume/disk/schemes/gpt.py @@ -94,6 +94,7 @@ def _partitions(self) -> Iterator[Partition]: name = ( partition.name.decode("utf-16-le", "ignore") + .split("\x00")[0] .strip("\x00") .strip("\uffff") # a non-character in UTF-16 )