]> Git Repo - J-u-boot.git/commit
tools: kwbimage: Verify size of image data
authorPali Rohár <[email protected]>
Wed, 11 Aug 2021 08:14:16 +0000 (10:14 +0200)
committerStefan Roese <[email protected]>
Wed, 1 Sep 2021 06:07:04 +0000 (08:07 +0200)
commita008dbaa8ce2d4142e17780177faa381fd59bb4e
treec6ac3f7d4aac983b91183eb39021b98c33e6e4f7
parent33a0af2d8041b027cfbf6ab23c93026339aff142
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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
tools/kwbimage.c
This page took 0.032941 seconds and 4 git commands to generate.