Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dtb: Skip decoding strings if not nul terminated
If a property is defined to be a string, make sure it is nul terminated before decoding it. This fixes a case where <1> int was decoded into ['', '', '', '']. This still will not fix the case where there's the last byte is nul. There's only so much we can do for garbage in. Signed-off-by: Rob Herring <[email protected]>
- Loading branch information