Normalize null-separated dtc multi-string output in DTB checks
This commit is contained in:
1 parent
f6b42ff604
commit
edc8c5a6fc
4 files changed
+9
-4
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user