aboutsummaryrefslogtreecommitdiff
path: root/tests/embedded_nul.dts
AgeCommit message (Collapse)AuthorFilesLines
2014-08-08Properly handle embedded nul delimited string listsJack Miller1-0/+0
For example: reserved-names="res1\0res2\0res3"; Where \0 is an actual embedded NUL in the source instead of a string escape. To achieve this, use the len given by the lexer instead of strlen. Without this patch dtc will mangle the output and possibly hang on realloc.