commit | a008dbaa8ce2d4142e17780177faa381fd59bb4e | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed Aug 11 10:14:16 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Wed Sep 01 08:07:04 2021 +0200 |
tree | c6ac3f7d4aac983b91183eb39021b98c33e6e4f7 | |
parent | 33a0af2d8041b027cfbf6ab23c93026339aff142 [diff] |
tools: kwbimage: Verify size of image data Part of image data is 4 byte checksum, so every image must contain at least 4 bytes. Verify it to prevent memory corruptions. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>