commit | e4cb6453d4427d078068cd68e9bd227534193982 | [log] [tgz] |
---|---|---|
author | Nishanth Menon <nm@ti.com> | Tue Oct 19 12:32:29 2021 -0500 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 01 16:28:45 2021 -0500 |
tree | dbd895067824be9bfa258710e4869d3573314b88 | |
parent | 99f0cd27dd0765a6442e6f8079cfa0b86f788d7a [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>