commit | c623fe5c21e0358fc38a4e8ddb0d51379f0733e8 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Wed Sep 09 04:38:30 2009 |
committer | Jon Loeliger <jdl@jdl.com> | Wed Nov 11 13:34:01 2009 |
tree | 33852e9281cd5074304435f308f134261d5ddf48 | |
parent | 9c1a0df677bf0f4af622a404f6c738ad711326e0 [diff] |
Fix bug in -Odts with properties containing multiple terminating nulls When in -Odts mode, dtc will not produce correct output for string-like properties which have more than one \0 character at the end of the property's bytestring. In fact, it generates output which is not syntactically correct. This patch fixes the bug, and adds a testcase for future regressions here. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>