Normalize null-separated dtc multi-string output in DTB checks

This commit is contained in:
Luxferre committed 2026-11-16 20:18:36 +02:00
1 parent f6b42ff604
commit edc8c5a6fc
4 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ def decompile(dtb, target):
str(dtb)], capture_output=True, text=True)
if proc.returncode:
return None
return target.read_text(encoding="utf-8", errors="replace")
return target.read_text(encoding="utf-8", errors="replace").replace(r"\0", '", "')
def main():