commit | e27c00bb4834885ca7592a7a03990f5a20bd67ce | [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 | a98cc27bc61db13d85eb38fb8b7c4f1e29842453 [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>