diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2019-06-30 15:46:25 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-06-30 15:47:50 +1000 |
commit | bbe3b36f542bb2c274f5fd030456ea840cc31d94 (patch) | |
tree | 6b321c9fa27e4c13704dfa889c9f19cd81344cfa /tests | |
parent | 6c2e61f08396871a34d641b8f18a05d35d552792 (diff) | |
download | dtc-bbe3b36f542bb2c274f5fd030456ea840cc31d94.zip dtc-bbe3b36f542bb2c274f5fd030456ea840cc31d94.tar.gz dtc-bbe3b36f542bb2c274f5fd030456ea840cc31d94.tar.bz2 |
fdtoverlay: Rework output allocation
At present the fdtoverlay tool allocates space for its output based on a
calculation of the worse case size based on the size of the input blobs.
Except.. that certain edge cases with very long target paths can actually
exceed that "worst case" calculation.
This reworks the code to instead dynamically reallocate the output buffer
if we run out of space at any point.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions