diff options
author | Nishanth Menon <nm@ti.com> | 2021-10-19 12:32:29 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-01 16:28:45 -0500 |
commit | 6d99f866952bb5df7fe699b3db29a97d75e5c445 (patch) | |
tree | dbd895067824be9bfa258710e4869d3573314b88 /tools/dtoc/test_dtoc.py | |
parent | af13df7014d7dc78b5461b65de78ca5096e5701c (diff) |
spl: fit: Skip attempting to load 0 length image
When, for various reasons, a bad FIT image is used where a loadable
image is marked as 0 length, attempt is made for a 0 length allocation and
read of 0 byte read operation.
Instead provide warning in log and skip attempting to do such a load.
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Diffstat (limited to 'tools/dtoc/test_dtoc.py')
0 files changed, 0 insertions, 0 deletions