diff options
author | Pali Rohár <pali@kernel.org> | 2021-08-11 10:14:16 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-09-01 08:07:04 +0200 |
commit | a008dbaa8ce2d4142e17780177faa381fd59bb4e (patch) | |
tree | c6ac3f7d4aac983b91183eb39021b98c33e6e4f7 /lib/efi_loader/efi_variable.c | |
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>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
0 files changed, 0 insertions, 0 deletions